From c9ebae3389f79f857798ddc888b12f349f7f9e82 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 24 Mar 2009 23:45:13 +0000 Subject: Update for autoconf 2.6x; git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67654 91177308-0d34-0410-b5e6-96231b3b80d8 --- projects/sample/autoconf/AutoRegen.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'projects') diff --git a/projects/sample/autoconf/AutoRegen.sh b/projects/sample/autoconf/AutoRegen.sh index 7c04715cdf..126703ba5a 100755 --- a/projects/sample/autoconf/AutoRegen.sh +++ b/projects/sample/autoconf/AutoRegen.sh @@ -5,9 +5,9 @@ die () { } 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 @@ sed -e "s#^LLVM_SRC_ROOT=.*#LLVM_SRC_ROOT=\"$llvm_src_root\"#" \ 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 -- cgit v1.2.3