aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--configure.ac13
2 files changed, 11 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index ba36b72f739..c3bb41bd7ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,8 +6,9 @@
6 6
72013-12-14 Dani Moncayo <dmoncayo@gmail.com> 72013-12-14 Dani Moncayo <dmoncayo@gmail.com>
8 8
9 * configure.ac (srcdir) [MINGW32]: Convert to an absolute MSYS 9 * configure.ac (srcdir) [MINGW32]: If it is an absolute path,
10 path of the form "/c/foo/bar" to simplify conversion of formats. 10 force the format "/c/foo/bar" to simplify conversions to native
11 windows format.
11 12
122013-12-13 Glenn Morris <rgm@gnu.org> 132013-12-13 Glenn Morris <rgm@gnu.org>
13 14
diff --git a/configure.ac b/configure.ac
index 9e4ef127534..6d0ba7c851a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,11 +28,14 @@ if test "x$MSYSTEM" = "xMINGW32"
28then 28then
29 . $srcdir/nt/mingw-cfg.site 29 . $srcdir/nt/mingw-cfg.site
30 30
31 # Convert srcdir to an absolute MSYS path of the form "/c/foo/bar" 31 if test ${srcdir:0:1} = "/" -o ${srcdir:1:1} = ":"
32 # to simplify later conversions of paths to windows-native format 32 then
33 # "c:/foo/bar" 33 # srcdir is an absolute path. In this case, force the format
34 srcdir=`cd "${srcdir}" && pwd -W` 34 # "/c/foo/bar", to simplify later conversions to native Windows
35 srcdir="/${srcdir:0:1}${srcdir:2}" 35 # format ("c:/foo/bar")
36 srcdir=`cd "${srcdir}" && pwd -W`
37 srcdir="/${srcdir:0:1}${srcdir:2}"
38 fi
36fi 39fi
37 40
38dnl Set emacs_config_options to the options of 'configure', quoted for the shell, 41dnl Set emacs_config_options to the options of 'configure', quoted for the shell,