summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
diff options
context:
space:
mode:
authormdejong <mdejong>2001-07-04 00:25:09 (GMT)
committermdejong <mdejong>2001-07-04 00:25:09 (GMT)
commitdbc9bdeaec84b5b40eec6b8603998bd5235c9cfc (patch)
tree6353f35e209b3b43a8a1c4d32a330aad78dc1c92 /win/tcl.m4
parent00e74df96699d52387c829e4f66ddf83b048ec6a (diff)
downloadtk-dbc9bdeaec84b5b40eec6b8603998bd5235c9cfc.zip
tk-dbc9bdeaec84b5b40eec6b8603998bd5235c9cfc.tar.gz
tk-dbc9bdeaec84b5b40eec6b8603998bd5235c9cfc.tar.bz2
* win/Makefile.in: Remove PATHTYPE variable.
* win/configure: Regen. * win/configure.in: Don't subst PATHTYPE. * win/tcl.m4: Update from Tcl.
Diffstat (limited to 'win/tcl.m4')
-rw-r--r--win/tcl.m419
1 files changed, 4 insertions, 15 deletions
diff --git a/win/tcl.m4 b/win/tcl.m4
index 9083f60..5e6e36f 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -297,8 +297,6 @@ AC_DEFUN(SC_ENABLE_SYMBOLS, [
# LDFLAGS_WINDOW
# CC_OBJNAME
# CC_EXENAME
-# PATHTYPE
-# VPSEP
# CYGPATH
# SHLIB_LD
# SHLIB_LD_LIBS
@@ -331,9 +329,8 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [
# Set some defaults (may get changed below)
EXTRA_CFLAGS=""
- PATHTYPE='-w'
- CYGPATH='cygpath'
- VPSEP=';'
+
+ AC_CHECK_PROG(CYGPATH, cygpath, cygpath -w, echo)
# set various compiler flags depending on whether we are using gcc or cl
@@ -351,27 +348,19 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [
RC_INCLUDE=--include
RC_DEFINE=--define
RES=res.o
- MAKE_LIB="\${AR} crv \[$]@"
+ MAKE_LIB="\${AR} cr \[$]@"
POST_MAKE_LIB="\${RANLIB} \[$]@"
MAKE_EXE="\${CC} -o \[$]@"
LIBPREFIX="lib"
if "$CC" -v 2>&1 | egrep '\/gcc-lib\/i[[3-6]]86[[^\/]]*-cygwin' >/dev/null; then
- mno_cygwin="yes"
extra_cflags="-mno-cygwin"
extra_ldflags="-mno-cygwin"
else
- mno_cygwin="no"
extra_cflags=""
extra_ldflags=""
fi
- if test "$cross_compiling" = "yes" -o "$mno_cygwin" = "yes"; then
- PATHTYPE=''
- CYGPATH='echo '
- VPSEP=':'
- fi
-
if test "${SHARED_BUILD}" = "0" ; then
# static
AC_MSG_RESULT([using static flags])
@@ -471,7 +460,7 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [
# Specify the CC output file names based on the target name
CC_OBJNAME="-Fo\[$]@"
- CC_EXENAME="-Fe\"\$(shell \$(CYGPATH) \$(PATHTYPE) '\[$]@')\""
+ CC_EXENAME="-Fe\"\$(shell \$(CYGPATH) '\[$]@')\""
# Specify linker flags depending on the type of app being
# built -- Console vs. Window.