]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
bootstrap: Allow overriding the location aclocal, automake,
authorPeter Eisentraut <peter_e@gmx.net>
Sun, 22 Apr 2001 23:28:01 +0000 (23:28 +0000)
committerGary V. Vaughan <gary@gnu.org>
Sun, 22 Apr 2001 23:28:01 +0000 (23:28 +0000)
autoconf, autoheader from the environment.

bootstrap

index 97185003b140ace7672b6ae8224119ff36892d40..076ca20eef451151732fc0306e99ea0b4ce14d34 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -5,25 +5,30 @@
 
 file=Makefile.in
 
+: ${ACLOCAL=aclocal}
+: ${AUTOMAKE=automake}
+: ${AUTOCONF=autoconf}
+: ${AUTOHEADER=autoheader}
+
 rm -f acinclude.m4
 ln -s libtool.m4 acinclude.m4
 # fake the libtool scripts
 touch ltmain.sh
 touch ltconfig
 touch libtoolize
-aclocal
-automake --gnu --add-missing --copy
-autoconf
+$ACLOCAL
+$AUTOMAKE --gnu --add-missing --copy
+$AUTOCONF
 
 for sub in libltdl demo depdemo mdemo cdemo; do
   cd $sub
   rm -f acinclude.m4 Makefile
   cat ../libtool.m4 > acinclude.m4
   test "$sub" = libltdl && cat ../ltdl.m4 >> acinclude.m4
-  aclocal
-  test "$sub" = libltdl && autoheader
-  automake --gnits --add-missing
-  autoconf
+  $ACLOCAL
+  test "$sub" = libltdl && $AUTOHEADER
+  $AUTOMAKE --gnits --add-missing
+  $AUTOCONF
   cd ..
 done