summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautoconf/AutoRegen.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/autoconf/AutoRegen.sh b/autoconf/AutoRegen.sh
index efedd1a143..40bd96be5f 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