From: Stefano Lattarini Date: Thu, 28 Jun 2012 20:49:28 +0000 (+0200) Subject: configure: the testsuite shell must support 'test -e' and 'test ! -e' X-Git-Tag: v1.12.2~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7b3752bdb1763d2bae2452849735fbca5b73758;p=thirdparty%2Fautomake.git configure: the testsuite shell must support 'test -e' and 'test ! -e' * configure.ac: Require that the shell that is to be selected to run the testsuite understands "set -e" and "set ! -e". Signed-off-by: Stefano Lattarini --- diff --git a/configure.ac b/configure.ac index 2b5b05735..55346d007 100644 --- a/configure.ac +++ b/configure.ac @@ -334,6 +334,11 @@ AC_DEFUN([_AM_CHECK_CANDIDATE_SHELL], [rm -f conftest-alias.sh], [rm -f conftest-alias.sh; am_score=1; break]) + _AM_CHECK_SHELL_FEATURE([$1], + [supports "test -e"], + [test -e configure && test -e . && test ! -e nonesuch], + [], [am_score=1; break]) + break done])