summaryrefslogtreecommitdiffstats
path: root/win/Makefile.in
diff options
context:
space:
mode:
authormdejong <mdejong@noemail.net>2001-07-04 00:07:46 (GMT)
committermdejong <mdejong@noemail.net>2001-07-04 00:07:46 (GMT)
commitf8c702a19edf3267d46888d14197c740c7b938e7 (patch)
tree317b78244e9083510daa68ff541076bcad76beab /win/Makefile.in
parent5d12178bd52ae26fd29b3619776baac3f35a3f98 (diff)
downloadtcl-f8c702a19edf3267d46888d14197c740c7b938e7.zip
tcl-f8c702a19edf3267d46888d14197c740c7b938e7.tar.gz
tcl-f8c702a19edf3267d46888d14197c740c7b938e7.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. FossilOrigin-Name: c30eda3f1e64f446026e3c975ecac9f00f12bf1c
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