summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-03-08 01:06:41 +0100
committerJim Meyering <jim@meyering.net>2007-03-08 01:06:41 +0100
commit9abd8baaaaf8d75a998352d280fe88676ec79bab (patch)
tree11334e202892e30c4d7f47a4ed161f356c21cc84 /bootstrap
parent551bed87fabb20dab9164a529aeca7d9665c25ff (diff)
downloadcoreutils-9abd8baaaaf8d75a998352d280fe88676ec79bab.tar.xz
* bootstrap: Run libtool, if necessary.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap6
1 files changed, 6 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index 887ec53c7..dde3e2177 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