* 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 <[email protected]>
+
+ 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 <[email protected]>
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 [email protected]
Peter Breitenlohner [email protected]
Peter Eisentraut [email protected]
Peter Hendrickson [email protected]
+Peter Johansson [email protected]
Peter O'Gorman [email protected]
Peter Palfrader [email protected]
Peter Simons [email protected]
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