aboutsummaryrefslogtreecommitdiffstats
path: root/autoconf
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-02-24 22:58:31 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-02-24 22:58:31 +0000
commit2051fe3df52d385daa56ce69765ef172386e5927 (patch)
tree3856a4d696fe896e867af8634bb59fdb1c5448e7 /autoconf
parent39bb2dc557c9f23924bc950186e0fbb408dd3539 (diff)
downloadexternal_llvm-2051fe3df52d385daa56ce69765ef172386e5927.zip
external_llvm-2051fe3df52d385daa56ce69765ef172386e5927.tar.gz
external_llvm-2051fe3df52d385daa56ce69765ef172386e5927.tar.bz2
small portability fix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11814 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rwxr-xr-xautoconf/AutoRegen.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/autoconf/AutoRegen.sh b/autoconf/AutoRegen.sh
index efedd1a..40bd96b 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