* bin/autoreconf.in (autom4te): New variable. Export its value as $ENV{'AUTOM4TE'}. Suggested by Peter Johansson. * THANKS: Update. --- Like this?
ChangeLog | 7 +++++++ THANKS | 1 + bin/autoreconf.in | 2 ++ 3 files changed, 10 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6ff2239..7886907 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-10-26 Paolo Bonzini <bonz...@gnu.org> + + Pass Autom4te path down to programs that autoreconf invokes. + * bin/autoreconf.in (autom4te): New variable. Export its value + as $ENV{'AUTOM4TE'}. Suggested by Peter Johansson. + * THANKS: Update. + 2009-10-01 Paolo Bonzini <bonz...@gnu.org> Unconditionally check for junk ./--version after mkdir search loop. diff --git a/THANKS b/THANKS index ba239ca..9ce9360 100644 --- a/THANKS +++ b/THANKS @@ -293,6 +293,7 @@ Per Ãyvind Karlsen peroyv...@mandriva.org Peter Breitenlohner p...@mppmu.mpg.de Peter Eisentraut pete...@gmx.net Peter Hendrickson p...@wiredyne.com +Peter Johansson troj...@gmail.com Peter O'Gorman pe...@pogma.com Peter Palfrader wea...@debian.org Peter Simons sim...@cryp.to diff --git a/bin/autoreconf.in b/bin/autoreconf.in index e7b60ef..9f6d706 100644 --- a/bin/autoreconf.in +++ b/bin/autoreconf.in @@ -109,6 +109,7 @@ Written by David J. MacKenzie and Akim Demaille. # Lib files. my $autoconf = $ENV{'AUTOCONF'} || '@bindir@/@autoconf-name@'; my $autoheader = $ENV{'AUTOHEADER'} || '@bindir@/@autoheader-name@'; +my $autom4te = $ENV{'AUTOM4TE'} || '@bindir@/@autom4te-name@'; my $automake = $ENV{'AUTOMAKE'} || 'automake'; my $aclocal = $ENV{'ACLOCAL'} || 'aclocal'; my $libtoolize = $ENV{'LIBTOOLIZE'} || 'libtoolize'; @@ -677,6 +678,7 @@ parse_args; # Autoreconf all the given configure.ac. Unless `--no-recursive' is passed, # AC_CONFIG_SUBDIRS will be traversed in &autoreconf_current_directory. +$ENV{'AUTOM4TE'} = $autom4te; for my $directory (@ARGV) { require_configure_ac ($directory); -- 1.6.2.5