[llvm-commits] [llvm] r67654 - /llvm/trunk/projects/sample/autoconf/AutoRegen.sh
Dan Gohman
gohman at apple.com
Tue Mar 24 16:45:15 PDT 2009
Author: djg
Date: Tue Mar 24 18:45:13 2009
New Revision: 67654
URL: http://llvm.org/viewvc/llvm-project?rev=67654&view=rev
Log:
Update for autoconf 2.6x;
Modified:
llvm/trunk/projects/sample/autoconf/AutoRegen.sh
Modified: llvm/trunk/projects/sample/autoconf/AutoRegen.sh
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/projects/sample/autoconf/AutoRegen.sh?rev=67654&r1=67653&r2=67654&view=diff
==============================================================================
--- llvm/trunk/projects/sample/autoconf/AutoRegen.sh (original)
+++ llvm/trunk/projects/sample/autoconf/AutoRegen.sh Tue Mar 24 18:45:13 2009
@@ -5,9 +5,9 @@
}
test -d autoconf && test -f autoconf/configure.ac && cd autoconf
test -f configure.ac || die "Can't find 'autoconf' dir; please cd into it first"
-autoconf --version | egrep '2\.5[0-9]' > /dev/null
+autoconf --version | egrep '2\.[56][0-9]' > /dev/null
if test $? -ne 0 ; then
- die "Your autoconf was not detected as being 2.5x"
+ die "Your autoconf was not detected as being 2.5x or 2.6x"
fi
cwd=`pwd`
if test -d ../../../autoconf/m4 ; then
@@ -46,7 +46,7 @@
echo "Regenerating aclocal.m4 with aclocal"
rm -f aclocal.m4
aclocal -I $llvm_m4 -I "$llvm_m4/.." || die "aclocal failed"
-echo "Regenerating configure with autoconf 2.5x"
+echo "Regenerating configure with autoconf"
autoconf --warnings=all -o ../configure configure.ac || die "autoconf failed"
cd ..
exit 0
More information about the llvm-commits
mailing list