bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bootstrap: Run libtool, if necessary.


From: Jim Meyering
Subject: bootstrap: Run libtool, if necessary.
Date: Thu, 08 Mar 2007 01:07:13 +0100

Just committed:

        * bootstrap: Run libtool, if necessary.

diff --git a/bootstrap b/bootstrap
index 887ec53..dde3e21 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]