From: Paul Eggert Date: Thu, 2 Oct 2014 22:29:39 +0000 (-0700) Subject: * configure.ac: Port to strict POSIX shells on non-MinGW. X-Git-Tag: emacs-24.4-rc1~55 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6d5bb00fd1d77d4ff9c4fc6598c593337bf28625;p=emacs.git * configure.ac: Port to strict POSIX shells on non-MinGW. Fixes: debbugs:18612 --- diff --git a/ChangeLog b/ChangeLog index bffcbbab445..256f78f6fb3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-10-02 Paul Eggert + + * configure.ac: Port to strict POSIX shells on non-MinGW (Bug#18612). + 2014-09-21 Jan Djärv * configure.ac: Increase headerpad_extra to 1000, update the comment diff --git a/configure.ac b/configure.ac index dd70700bacb..20acc46a1b3 100644 --- a/configure.ac +++ b/configure.ac @@ -35,7 +35,8 @@ then # "/c/foo/bar", to simplify later conversions to native Windows # format ("c:/foo/bar") srcdir=`cd "${srcdir}" && pwd -W` - srcdir="/${srcdir:0:1}${srcdir:2}" + # 'eval' pacifies strict POSIX non-MinGW shells (Bug#18612). + eval 'srcdir="/${srcdir:0:1}${srcdir:2}"' ;; esac fi