summaryrefslogtreecommitdiffstats
path: root/win/Makefile.in
diff options
context:
space:
mode:
authormdejong <mdejong>2001-07-04 00:07:46 (GMT)
committermdejong <mdejong>2001-07-04 00:07:46 (GMT)
commit0962ee532bf11303e62d73a81dcc1d8aa8ef7377 (patch)
tree317b78244e9083510daa68ff541076bcad76beab /win/Makefile.in
parent72849b19b3634415af9c5b82658cddc9ff8b86b8 (diff)
downloadtcl-0962ee532bf11303e62d73a81dcc1d8aa8ef7377.zip
tcl-0962ee532bf11303e62d73a81dcc1d8aa8ef7377.tar.gz
tcl-0962ee532bf11303e62d73a81dcc1d8aa8ef7377.tar.bz2
* win/Makefile.in: Remove PATHTYPE variable.
* win/configure: Regen. * win/configure.in: Don't subst PATHTYPE. * win/tcl.m4 (SC_CONFIG_CFLAGS): Remove PATHTYPE variable. Set CYGPATH to "cygpath -w" if the cygpath executable is found on the path. This approach works for native Cygwin builds and cross compiles.
Diffstat (limited to 'win/Makefile.in')
-rw-r--r--win/Makefile.in14
1 files changed, 5 insertions, 9 deletions
diff --git a/win/Makefile.in b/win/Makefile.in
index 1f9ee81..563d194 100644
--- a/win/Makefile.in
+++ b/win/Makefile.in
@@ -5,7 +5,7 @@
# "autoconf" program (constructs like "@foo@" will get replaced in the
# actual Makefile.
#
-# RCS: @(#) $Id: Makefile.in,v 1.47 2001/06/27 01:53:18 mdejong Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.48 2001/07/04 00:07:46 mdejong Exp $
VERSION = @TCL_VERSION@
@@ -102,16 +102,12 @@ GENERIC_DIR = @srcdir@/../generic
WIN_DIR = @srcdir@
COMPAT_DIR = @srcdir@/../compat
-# This is a switch passed to a Cygwin script that generates file
-# names based on the platform.
-PATHTYPE = @PATHTYPE@
-
# This program converts between Windows native and Cygwin POSIX pathnames.
CYGPATH = @CYGPATH@
-GENERIC_DIR_NATIVE = $(shell $(CYGPATH) $(PATHTYPE) '$(GENERIC_DIR)')
-WIN_DIR_NATIVE = $(shell $(CYGPATH) $(PATHTYPE) '$(WIN_DIR)')
-ROOT_DIR_NATIVE = $(shell $(CYGPATH) $(PATHTYPE) '$(ROOT_DIR)')
+GENERIC_DIR_NATIVE = $(shell $(CYGPATH) '$(GENERIC_DIR)')
+WIN_DIR_NATIVE = $(shell $(CYGPATH) '$(WIN_DIR)')
+ROOT_DIR_NATIVE = $(shell $(CYGPATH) '$(ROOT_DIR)')
LIBRARY_DIR = $(shell echo '$(ROOT_DIR_NATIVE)/library' | sed 's/\\/\//g' )
@@ -142,7 +138,7 @@ MAN2TCL = man2tcl$(EXEEXT)
# Macro that expands to the first dependency argument with the appropriate
# path type already resolved.
-DEPARG = "$(shell $(CYGPATH) $(PATHTYPE) $<)"
+DEPARG = "$(shell $(CYGPATH) $<)"
# Setting the VPATH variable to a list of paths will cause the
# makefile to look into these paths when resolving .c to .obj