From f03f28a18a95edd51dcd9a14da76ad00b5da0cd3 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 31 Dec 2016 23:04:05 +0100 Subject: [PATCH] Try running autoreconf --version This checks that autoreconf is actually the one we expect and not some unrelated script. --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index e95623ac..5c105ccd 100755 --- a/autogen.sh +++ b/autogen.sh @@ -21,7 +21,7 @@ if [ ! -x "`which automake 2>/dev/null`" ] ; then exit 1 fi -if [ -x "`which autoreconf 2>/dev/null`" ] ; then +if autoreconf --version > /dev/null 2>&1 ; then exec autoreconf -ivf fi