automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] {maint} configure: fix detection of POSIX shell to work in a VPATH


From: Stefano Lattarini
Subject: [FYI] {maint} configure: fix detection of POSIX shell to work in a VPATH build
Date: Sat, 30 Jun 2012 12:01:20 +0200

* 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 <address@hidden>
---
 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 8d6afc8..7d30762 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
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]