diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2004-02-15 21:15:46 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2004-02-15 21:15:46 +0000 |
commit | 59295d5d68160ef5e8f2a88966365ab72e633104 (patch) | |
tree | 7de630ee5d8d2d2f15deaf44fb605141d4eb0a38 | |
parent | Fix ac-wrapper.pl to also work with AC_PREREQ(2.50) (note the 2.50 and not 2.5). (diff) | |
download | autotools-wrappers-59295d5d68160ef5e8f2a88966365ab72e633104.tar.gz autotools-wrappers-59295d5d68160ef5e8f2a88966365ab72e633104.tar.bz2 autotools-wrappers-59295d5d68160ef5e8f2a88966365ab72e633104.zip |
Set AUTOM4TE to autoconf version being run, bug #40983.
-rwxr-xr-x | ac-wrapper.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ac-wrapper.pl b/ac-wrapper.pl index c720d9f..5601bc7 100755 --- a/ac-wrapper.pl +++ b/ac-wrapper.pl @@ -65,6 +65,13 @@ if ($ENV{WANT_AUTOCONF} ne '2.1') { } } +# Set AUTOM4TE to the proper version (bug #40983). +# Do not set it for 2.13 though, as it does not ship autom4te. +if(($ENV{AUTOM4TE} eq "") && ($binary ne "$0-2.13")) { + $ENV{AUTOM4TE} = $binary; + $ENV{AUTOM4TE} =~ s/autoconf/autom4te/; +} + $ENV{WANT_ACWRAPPER_DEBUG} and print STDERR "ac-wrapper: will execute <$binary>\n"; exec $binary, @ARGV; |