+2012-04-19 Eric Blake <eblake@redhat.com>
+
+ bootstrap: accommodate older libtool
+ * build-aux/bootstrap (use_libtool): Cater to libtool 1.5.22.
+ Reported by Daniel P. Berrange.
+
2012-04-19 Jim Meyering <meyering@redhat.com>
announce-gen: avoid failure due to lack of Digest::SHA1
#! /bin/sh
# Print a version string.
-scriptversion=2012-04-19.14; # UTC
+scriptversion=2012-04-19.22; # UTC
# Bootstrap this package from checked-out sources.
# Autoreconf runs aclocal before libtoolize, which causes spurious
# warnings if the initial aclocal is confused by the libtoolized
# (or worse out-of-date) macro directory.
+# libtoolize 1.9b added the --install option; but we support back
+# to libtoolize 1.5.22, where the install action was default.
if test $use_libtool = 1; then
- echo "running: $LIBTOOLIZE --copy --install"
- $LIBTOOLIZE --copy --install
+ install=
+ case $($LIBTOOLIZE --help) in
+ *--install*) install=--install ;;
+ esac
+ echo "running: $LIBTOOLIZE $install --copy"
+ $LIBTOOLIZE $install --copy
fi
version_controlled_file() {