Commit c07ff981 authored by Dani Moncayo's avatar Dani Moncayo

* configure.ac (srcdir) [MINGW32]: Tweak to 2013-12-14T09:30:15Z!dmoncayo@gmail.com.

parent 96c06863
...@@ -6,8 +6,9 @@ ...@@ -6,8 +6,9 @@
2013-12-14 Dani Moncayo <dmoncayo@gmail.com> 2013-12-14 Dani Moncayo <dmoncayo@gmail.com>
* configure.ac (srcdir) [MINGW32]: Convert to an absolute MSYS * configure.ac (srcdir) [MINGW32]: If it is an absolute path,
path of the form "/c/foo/bar" to simplify conversion of formats. force the format "/c/foo/bar" to simplify conversions to native
windows format.
2013-12-13 Glenn Morris <rgm@gnu.org> 2013-12-13 Glenn Morris <rgm@gnu.org>
......
...@@ -28,11 +28,14 @@ if test "x$MSYSTEM" = "xMINGW32" ...@@ -28,11 +28,14 @@ if test "x$MSYSTEM" = "xMINGW32"
then then
. $srcdir/nt/mingw-cfg.site . $srcdir/nt/mingw-cfg.site
# Convert srcdir to an absolute MSYS path of the form "/c/foo/bar" if test ${srcdir:0:1} = "/" -o ${srcdir:1:1} = ":"
# to simplify later conversions of paths to windows-native format then
# "c:/foo/bar" # srcdir is an absolute path. In this case, force the format
srcdir=`cd "${srcdir}" && pwd -W` # "/c/foo/bar", to simplify later conversions to native Windows
srcdir="/${srcdir:0:1}${srcdir:2}" # format ("c:/foo/bar")
srcdir=`cd "${srcdir}" && pwd -W`
srcdir="/${srcdir:0:1}${srcdir:2}"
fi
fi fi
dnl Set emacs_config_options to the options of 'configure', quoted for the shell, dnl Set emacs_config_options to the options of 'configure', quoted for the shell,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment