From 68337f9a48e68eaf65460e82f0e6fe5e3450547e Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sat, 30 Jun 2012 11:28:24 +0200 Subject: [PATCH] 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2