]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Bootstrap: let the user choose which autoconf to use.
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 27 Jul 2010 20:44:54 +0000 (22:44 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 10 Aug 2010 17:39:21 +0000 (19:39 +0200)
* bootstrap ($AUTOCONF): New variable, from the environment.
($AUTOM4TE): Likewise, for clarity.
Use "$AUTOCONF" instead of calling "autoconf" directly.

ChangeLog
bootstrap

index 10621f4d80ec137a27fed1c87c77c26016fa01c3..e424d30eedbe8c9f18a752f8ad11cd46c0a8621d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2010-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
+       Bootstrap: let the user choose which autoconf to use.
+       * bootstrap ($AUTOCONF): New variable, from the environment.
+       ($AUTOM4TE): Likewise, for clarity.
+       Use "$AUTOCONF" instead of calling "autoconf" directly.
+
        Minor improvements to tests ar*.test.
        * tests/ar.test: Add trailing `:' command.
        * tests/ar2.test: Likewise, and make grepping of generated
index 7766bd3e83e314c83377143fd5e0303cd06406fd..ebcedbe834cbaa9e122743e09ae7d1b78e3ba760 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -35,6 +35,12 @@ set -e
 # Set program basename.
 me=`echo "$0" | sed 's,^.*/,,'`
 
+# Let user choose which version of autoconf and autom4te to use.
+: ${AUTOCONF=autoconf}
+export AUTOCONF  # might be used by aclocal and/or automake
+: ${AUTOM4TE=autom4te}
+export AUTOM4TE  # ditto
+
 # Find perl.  Code based on Autoconf, but without non-POSIX support.
 if test -z "$PERL"; then
   save_IFS=$IFS
@@ -133,7 +139,7 @@ cd ..
 
 # Run the autotools.
 $PERL ./aclocal.tmp -I m4
-autoconf
+$AUTOCONF
 $PERL ./automake.tmp
 
 # Remove temporary files and directories.