autogen.sh: Use printf instead of 'echo -n'. Check for automake-1.1[01]
authorJan Schmidt <jan.schmidt@sun.com>
Fri, 26 Jun 2009 12:33:50 +0000 (13:33 +0100)
committerJan Schmidt <jan.schmidt@sun.com>
Fri, 26 Jun 2009 12:33:50 +0000 (13:33 +0100)
Check for more automake command variants. Use printf instead of 'echo -n'
for portability

autogen.sh

index 266a808..4864187 100755 (executable)
@@ -35,11 +35,11 @@ CONFIGURE_DEF_OPT='--enable-maintainer-mode --enable-failing-tests --enable-pois
 
 autogen_options $@
 
-echo -n "+ check for build tools"
+printf "+ check for build tools"
 if test ! -z "$NOCHECK"; then echo ": skipped version checks"; else  echo; fi
 version_check "autoconf" "$AUTOCONF autoconf autoconf259 autoconf257 autoconf-2.54 autoconf-2.53 autoconf253 autoconf-2.52 autoconf252" \
               "ftp://ftp.gnu.org/pub/gnu/autoconf/" 2 52 || DIE=1
-version_check "automake" "$AUTOMAKE automake automake-1.9 automake19 automake-1.8 automake18 automake-1.7 automake17 automake-1.6 automake16" \
+version_check "automake" "$AUTOMAKE automake automake-1.11 automake-1.10 automake-1.9 automake19 automake-1.8 automake18 automake-1.7 automake17 automake-1.6 automake16" \
               "ftp://ftp.gnu.org/pub/gnu/automake/" 1 7 || DIE=1
 version_check "autopoint" "autopoint" \
               "ftp://ftp.gnu.org/pub/gnu/gettext/" 0 17 || DIE=1