* configure.ac: Port to strict POSIX shells on non-MinGW.

Fixes: debbugs:18612
This commit is contained in:
Paul Eggert 2014-10-02 15:29:39 -07:00
parent 3d900a84e4
commit 6d5bb00fd1
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2014-10-02 Paul Eggert <eggert@cs.ucla.edu>
* configure.ac: Port to strict POSIX shells on non-MinGW (Bug#18612).
2014-09-21 Jan Djärv <jan.h.d@swipnet.se>
* configure.ac: Increase headerpad_extra to 1000, update the comment

View file

@ -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