summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-10-05 09:23:12 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-10-05 09:23:12 (GMT)
commit9cac91e2eb9f49a1227ec078f49d8130706a6125 (patch)
tree95aad6cf8fc8c53f0b6b0e24b0c3903a34af668e
parenta3a5372cf6ffd69dbf4628f2c0dd5295f79888ae (diff)
downloadtcl-9cac91e2eb9f49a1227ec078f49d8130706a6125.zip
tcl-9cac91e2eb9f49a1227ec078f49d8130706a6125.tar.gz
tcl-9cac91e2eb9f49a1227ec078f49d8130706a6125.tar.bz2
Use "cygpath -m" in stead of "cygpath -w", so paths (even windows ones) always have forward slashes. Suggested by pooryorick for [http://core.tcl.tk/tclconfig/tktview/06f1692bbe29449ac3f2161ebf9dd153d0349845|TEA], but a good idea anyway
-rwxr-xr-xwin/configure2
-rw-r--r--win/tcl.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/win/configure b/win/configure
index 1dcc9d2..dc03e62 100755
--- a/win/configure
+++ b/win/configure
@@ -3288,7 +3288,7 @@ do
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_CYGPATH="cygpath -w"
+ ac_cv_prog_CYGPATH="cygpath -m"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
diff --git a/win/tcl.m4 b/win/tcl.m4
index aa3c4b3..46d3518 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -558,7 +558,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
# Set some defaults (may get changed below)
EXTRA_CFLAGS=""
- AC_CHECK_PROG(CYGPATH, cygpath, cygpath -w, echo)
+ AC_CHECK_PROG(CYGPATH, cygpath, cygpath -m, echo)
SHLIB_SUFFIX=".dll"