diff --git a/autoconf/AutoRegen.sh b/autoconf/AutoRegen.sh index efedd1a143e..40bd96be5f9 100755 --- a/autoconf/AutoRegen.sh +++ b/autoconf/AutoRegen.sh @@ -7,7 +7,8 @@ test -d autoconf && test -f autoconf/configure.ac && cd autoconf [ -f configure.ac ] || die "Can't find 'autoconf' dir; please cd into it first" echo "Regenerating aclocal.m4 with aclocal" aclocal || die "aclocal failed" -if ! autoconf --version | egrep '2\.5[0-9]' > /dev/null +autoconf --version | egrep '2\.5[0-9]' > /dev/null +if test $? -ne 0 then die "Your autoconf was not detected as being 2.5x" fi