From: Jim Meyering Date: Thu, 8 Mar 2007 00:06:41 +0000 (+0100) Subject: * bootstrap: Run libtool, if necessary. X-Git-Tag: COREUTILS-6_9~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9abd8baaaaf8d75a998352d280fe88676ec79bab;p=thirdparty%2Fcoreutils.git * bootstrap: Run libtool, if necessary. --- diff --git a/ChangeLog b/ChangeLog index 73e03d0f3e..914fd008f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2007-03-08 Jim Meyering + * bootstrap: Run libtool, if necessary. + Make bootstrap a little more general. * bootstrap (build_aux): Factor out/use this definition. Formally require a "AC_CONFIG_AUX_DIR($build_aux)" line in configure.ac. diff --git a/bootstrap b/bootstrap index 887ec53c79..dde3e21774 100755 --- a/bootstrap +++ b/bootstrap @@ -478,11 +478,17 @@ rm -fr $bt $bt2 || exit # Reconfigure, getting other files. for command in \ + libtool \ 'aclocal --force -I m4' \ 'autoconf --force' \ 'autoheader --force' \ 'automake --add-missing --copy --force-missing'; do + if test "$command" = libtool; then + grep '^[ ]*AM_PROG_LIBTOOL\>' configure.ac >/dev/null || + continue + command='libtoolize -c -f' + fi echo "$0: $command ..." $command || exit done