From 3abf99ae39c6598769a90be472800bc61b393008 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 26 Oct 2009 17:04:05 +0100 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ THANKS | 1 + bin/autoreconf.in | 2 ++ 3 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index a2f56f73..4f93ee38 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-10-26 Paolo Bonzini + + 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-20 Eric Blake Fix AC_TYPE_UINT64_T on Tru64 with gcc 3.4.4. diff --git a/THANKS b/THANKS index 5ecd9538..aca138bf 100644 --- a/THANKS +++ b/THANKS @@ -294,6 +294,7 @@ Per Øyvind Karlsen peroyvind@mandriva.org Peter Breitenlohner peb@mppmu.mpg.de Peter Eisentraut peter_e@gmx.net Peter Hendrickson pdh@wiredyne.com +Peter Johansson trojkan@gmail.com Peter O'Gorman peter@pogma.com Peter Palfrader weasel@debian.org Peter Simons simons@cryp.to diff --git a/bin/autoreconf.in b/bin/autoreconf.in index e7b60ef7..9f6d7066 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); -- 2.47.2