* bootstrap: Run libtool, if necessary.

This commit is contained in:
Jim Meyering
2007-03-08 01:06:41 +01:00
parent 551bed87fa
commit 9abd8baaaa
2 changed files with 8 additions and 0 deletions
+2
View File
@@ -1,5 +1,7 @@
2007-03-08 Jim Meyering <jim@meyering.net>
* 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.
+6
View File
@@ -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