[llvm-commits] CVS: llvm/autoconf/AutoRegen.sh

Brian Gaeke gaeke at cs.uiuc.edu
Tue Feb 24 16:59:01 PST 2004


Changes in directory llvm/autoconf:

AutoRegen.sh updated: 1.1 -> 1.2

---
Log message:

small portability fix.


---
Diffs of the changes:  (+2 -1)

Index: llvm/autoconf/AutoRegen.sh
diff -u llvm/autoconf/AutoRegen.sh:1.1 llvm/autoconf/AutoRegen.sh:1.2
--- llvm/autoconf/AutoRegen.sh:1.1	Sun Feb  8 01:44:48 2004
+++ llvm/autoconf/AutoRegen.sh	Tue Feb 24 16:58:31 2004
@@ -7,7 +7,8 @@
 [ -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





More information about the llvm-commits mailing list