diff options
| author | Dani Moncayo | 2013-12-14 23:06:30 +0100 |
|---|---|---|
| committer | Dani Moncayo | 2013-12-14 23:06:30 +0100 |
| commit | c07ff981a3fff74bb5a6bf6795eeb1dcead3d074 (patch) | |
| tree | 27c655de989a7dfce88c3471947281f21e450bad | |
| parent | 96c0686368d8b7d481cb40239db896ff37df416a (diff) | |
| download | emacs-c07ff981a3fff74bb5a6bf6795eeb1dcead3d074.tar.gz emacs-c07ff981a3fff74bb5a6bf6795eeb1dcead3d074.zip | |
* configure.ac (srcdir) [MINGW32]: Tweak to 2013-12-14T09:30:15Z!dmoncayo@gmail.com.
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | configure.ac | 13 |
2 files changed, 11 insertions, 7 deletions
| @@ -6,8 +6,9 @@ | |||
| 6 | 6 | ||
| 7 | 2013-12-14 Dani Moncayo <dmoncayo@gmail.com> | 7 | 2013-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 | ||
| 12 | 2013-12-13 Glenn Morris <rgm@gnu.org> | 13 | 2013-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" | |||
| 28 | then | 28 | then |
| 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 | ||
| 36 | fi | 39 | fi |
| 37 | 40 | ||
| 38 | dnl Set emacs_config_options to the options of 'configure', quoted for the shell, | 41 | dnl Set emacs_config_options to the options of 'configure', quoted for the shell, |