summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-10-05 09:40:21 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-10-05 09:40:21 (GMT)
commita53de23533cfa1c9481745f1a8c2d65f26a88124 (patch)
tree94b1419b0a5768580c2049e6d4d149defdbdc520
parenta7bd1b8b54051af0e4a59ca36d6fa8cbbd221487 (diff)
downloadtk-a53de23533cfa1c9481745f1a8c2d65f26a88124.zip
tk-a53de23533cfa1c9481745f1a8c2d65f26a88124.tar.gz
tk-a53de23533cfa1c9481745f1a8c2d65f26a88124.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 c493d8b..bd48382 100755
--- a/win/configure
+++ b/win/configure
@@ -3425,7 +3425,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"