Try running autoreconf --version

This checks that autoreconf is actually the one we expect and not
some unrelated script.
This commit is contained in:
Frank Denis 2016-12-31 23:04:05 +01:00
parent 0b10be1092
commit f03f28a18a

View File

@ -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