autogen.sh: Use printf instead of 'echo -n'. Check for automake-1.1[01]
authorJan Schmidt <thaytan@noraisin.net>
Wed, 1 Jul 2009 09:06:26 +0000 (10:06 +0100)
committerJan Schmidt <thaytan@noraisin.net>
Wed, 1 Jul 2009 09:30:48 +0000 (10:30 +0100)
Check for more automake command variants. Use printf instead of 'echo -n'
for portability

autogen.sh

index 8a096a0..60e3c5b 100755 (executable)
@@ -66,11 +66,11 @@ fi
 
 autogen_options $@
 
-echo -n "+ check for build tools"
+printf "+ check for build tools"
 if test ! -z "$NOCHECK"; then echo " skipped"; else  echo; fi
 version_check "autoconf" "$AUTOCONF autoconf autoconf-2.54 autoconf-2.53 autoconf-2.52" \
               "ftp://ftp.gnu.org/pub/gnu/autoconf/" 2 52 || DIE=1
-version_check "automake" "$AUTOMAKE automake automake-1.9 automake-1.7 automake-1.6 automake-1.5" \
+version_check "automake" "$AUTOMAKE automake automake-1.11 automake-1.10 automake-1.9 automake-1.7 automake-1.6 automake-1.5" \
               "ftp://ftp.gnu.org/pub/gnu/automake/" 1 6 || DIE=1
 version_check "libtoolize" "$LIBTOOLIZE libtoolize libtoolize14 glibtoolize" \
               "ftp://ftp.gnu.org/pub/gnu/libtool/" 1 4 0 || DIE=1