From: Peter Eisentraut Date: Sun, 22 Apr 2001 23:34:50 +0000 (+0000) Subject: * bootstrap: Allow overriding the location aclocal, automake, X-Git-Tag: multi-language-merge-point~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=57024a1cdb1bcc4baba7b48f22ddddb367fced2a;p=thirdparty%2Flibtool.git * bootstrap: Allow overriding the location aclocal, automake, autoconf, autoheader from the environment. --- diff --git a/ChangeLog b/ChangeLog index 6c46b054b..8dd5cb704 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2001-04-22 Peter Eisentraut + * bootstrap: Allow overriding the location aclocal, automake, + autoconf, autoheader from the environment. + * demo/Makefile.am: Automake 1.4e does not allow `+=' assignments if the variable was not set with `=' earlier. `+=' was not useful here anyway. diff --git a/bootstrap b/bootstrap index 7bbbdaaf9..7150557ca 100755 --- a/bootstrap +++ b/bootstrap @@ -2,7 +2,11 @@ # helps bootstrapping libtool, when checked out from CVS # requires GNU autoconf and GNU automake -# this is not meant to go into the distributions + +: ${ACLOCAL=aclocal} +: ${AUTOMAKE=automake} +: ${AUTOCONF=autoconf} +: ${AUTOHEADER=autoheader} rm -f acinclude.m4 ln -s libtool.m4 acinclude.m4 @@ -10,9 +14,9 @@ ln -s libtool.m4 acinclude.m4 touch ltconfig touch ltmain.sh touch libtoolize -aclocal -automake --gnu --add-missing -autoconf +${ACLOCAL} +${AUTOMAKE} --gnu --add-missing +${AUTOCONF} for sub in libltdl demo depdemo mdemo cdemo tagdemo pdemo; do cd $sub @@ -20,9 +24,9 @@ for sub in libltdl demo depdemo mdemo cdemo tagdemo pdemo; do cat ../libtool.m4 > acinclude.m4 test "$sub" = libltdl && cat ../ltdl.m4 >> acinclude.m4 aclocal - test "$sub" = libltdl && autoheader - automake --gnits --add-missing - autoconf + test "$sub" = libltdl && ${AUTOHEADER} + ${AUTOMAKE} --gnits --add-missing + ${AUTOCONF} cd .. done