CellSPU: Adjust spacing/tabulation
[oota-llvm.git] / autoconf / AutoRegen.sh
index 3dca38673718189085f0fbd64940f3a91dc30c93..fdf12b0a1101e98e68417e89c9e0af687cd0a39e 100755 (executable)
@@ -7,7 +7,7 @@ die () {
 ### NOTE: ############################################################"
 ### The below two variables specify the auto* versions
 ### periods should be escaped with backslash, for use by grep
-want_autoconf_version='2\.60'
+want_autoconf_version='2\.6[01]'
 want_autoheader_version=$want_autoconf_version
 ### END NOTE #########################################################"
 
@@ -22,7 +22,7 @@ test -d autoconf && test -f autoconf/$configfile && cd autoconf
 test -f $configfile || die "Can't find 'autoconf' dir; please cd into it first"
 autoconf --version | grep $want_autoconf_version > /dev/null
 test $? -eq 0 || die "Your autoconf was not detected as being $want_autoconf_version_clean"
-aclocal --version | grep '^aclocal.*1\.9\.6' > /dev/null
+aclocal --version | grep '^aclocal.*\(1\.9\.6\|1\.10\)' > /dev/null
 test $? -eq 0 || die "Your aclocal was not detected as being 1.9.6"
 autoheader --version | grep '^autoheader.*'$want_autoheader_version > /dev/null
 test $? -eq 0 || die "Your autoheader was not detected as being $want_autoheader_version_clean"