diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2010-07-27 22:44:54 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2010-08-10 19:39:21 +0200 |
commit | 103367103228d5ae88df7aace5c87c5e82d82e11 (patch) | |
tree | 0558fc7a835199d2b43b8b77ed367b51ea46cca2 /bootstrap | |
parent | 6d316dd0ee1b478baa85896b6f6e05dc8ae240e3 (diff) | |
download | automake-103367103228d5ae88df7aace5c87c5e82d82e11.tar.gz |
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.
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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. |