aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Moncayo2013-12-14 23:59:20 +0100
committerDani Moncayo2013-12-14 23:59:20 +0100
commitf629af5493b01170f0fc9c26d8a51c928f4ea711 (patch)
tree0a4a8aaeb9bb030f3237c6ee9e0d64d1d3278756
parentc07ff981a3fff74bb5a6bf6795eeb1dcead3d074 (diff)
downloademacs-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.ac21
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
27if test "x$MSYSTEM" = "xMINGW32" 27if test "x$MSYSTEM" = "xMINGW32"
28then 28then
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
39fi 40fi
40 41
41dnl Set emacs_config_options to the options of 'configure', quoted for the shell, 42dnl Set emacs_config_options to the options of 'configure', quoted for the shell,