From: Stefano Lattarini Date: Sat, 30 Jun 2012 09:28:24 +0000 (+0200) Subject: configure: fix detection of POSIX shell to work in a VPATH build X-Git-Tag: v1.12.2~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68337f9a48e68eaf65460e82f0e6fe5e3450547e;p=thirdparty%2Fautomake.git configure: fix detection of POSIX shell to work in a VPATH build * configure.ac: When checking whether "test -e" works, use 'config.log', not 'configure', as the witness file, because the latter does not exist in the current directory during a VPATH build. Signed-off-by: Stefano Lattarini --- diff --git a/configure.ac b/configure.ac index 8d6afc871..7d30762de 100644 --- a/configure.ac +++ b/configure.ac @@ -325,7 +325,7 @@ AC_DEFUN([_AM_CHECK_CANDIDATE_SHELL], _AM_CHECK_SHELL_FEATURE([$1], [supports "test -e"], - [test -e configure && test -e . && test ! -e nonesuch], + [test -e config.log && test -e . && test ! -e nonesuch], [], [am_score=1; break]) break