diff options
| author | Dani Moncayo | 2013-12-14 23:59:20 +0100 |
|---|---|---|
| committer | Dani Moncayo | 2013-12-14 23:59:20 +0100 |
| commit | f629af5493b01170f0fc9c26d8a51c928f4ea711 (patch) | |
| tree | 0a4a8aaeb9bb030f3237c6ee9e0d64d1d3278756 | |
| parent | c07ff981a3fff74bb5a6bf6795eeb1dcead3d074 (diff) | |
| download | emacs-f629af5493b01170f0fc9c26d8a51c928f4ea711.tar.gz emacs-f629af5493b01170f0fc9c26d8a51c928f4ea711.zip | |
* configure.ac (srcdir) [MINGW32]: Yet another tweak to avoid failure
when srcdir is ".". Fix also the indentation.
| -rw-r--r-- | configure.ac | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac index 6d0ba7c851a..30403fac06d 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -26,16 +26,17 @@ AC_INIT(emacs, 24.3.50) | |||
| 26 | 26 | ||
| 27 | if test "x$MSYSTEM" = "xMINGW32" | 27 | if test "x$MSYSTEM" = "xMINGW32" |
| 28 | then | 28 | then |
| 29 | . $srcdir/nt/mingw-cfg.site | 29 | . $srcdir/nt/mingw-cfg.site |
| 30 | 30 | ||
| 31 | if test ${srcdir:0:1} = "/" -o ${srcdir:1:1} = ":" | 31 | case $srcdir in |
| 32 | then | 32 | /* | ?:*) |
| 33 | # srcdir is an absolute path. In this case, force the format | 33 | # srcdir is an absolute path. In this case, force the format |
| 34 | # "/c/foo/bar", to simplify later conversions to native Windows | 34 | # "/c/foo/bar", to simplify later conversions to native Windows |
| 35 | # format ("c:/foo/bar") | 35 | # format ("c:/foo/bar") |
| 36 | srcdir=`cd "${srcdir}" && pwd -W` | 36 | srcdir=`cd "${srcdir}" && pwd -W` |
| 37 | srcdir="/${srcdir:0:1}${srcdir:2}" | 37 | srcdir="/${srcdir:0:1}${srcdir:2}" |
| 38 | fi | 38 | ;; |
| 39 | esac | ||
| 39 | fi | 40 | fi |
| 40 | 41 | ||
| 41 | dnl Set emacs_config_options to the options of 'configure', quoted for the shell, | 42 | dnl Set emacs_config_options to the options of 'configure', quoted for the shell, |