Mac OS X: Run glibtoolize in absence of libtoolize
authorAlex Nelson <ajnelson@cs.ucsc.edu>
Tue, 6 Sep 2011 01:52:58 +0000 (18:52 -0700)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 6 Sep 2011 12:40:15 +0000 (13:40 +0100)
Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
bootstrap

index 79b6717..b2960c1 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -36,7 +36,7 @@ autopoint --force
 # 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 --copy --install
+libtoolize --copy --install || glibtoolize --copy --install
 
 # Create gettext configuration.
 echo "$0: Creating po/Makevars from po/Makevars.template ..."