summaryrefslogtreecommitdiffstats
path: root/win
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)
commit73f2bd2dd252941f602bc18736163172c7f75262 (patch)
tree94b1419b0a5768580c2049e6d4d149defdbdc520 /win
parent47f460b458330c928c83b91eda60b76b3092d711 (diff)
downloadtk-73f2bd2dd252941f602bc18736163172c7f75262.zip
tk-73f2bd2dd252941f602bc18736163172c7f75262.tar.gz
tk-73f2bd2dd252941f602bc18736163172c7f75262.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
Diffstat (limited to 'win')
-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"