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 | f88d77bef1b7b1e281e3900302ee94f0183ef0e2 (patch) | |
tree | c45f2eebfe694038afaeff2782a9ac3ee464683b /sys-devel/autoconf/files | |
parent | Initial Import. (Manifest recommit) (diff) | |
download | gentoo-2-f88d77bef1b7b1e281e3900302ee94f0183ef0e2.tar.gz gentoo-2-f88d77bef1b7b1e281e3900302ee94f0183ef0e2.tar.bz2 gentoo-2-f88d77bef1b7b1e281e3900302ee94f0183ef0e2.zip |
Set AUTOM4TE to autoconf version being run, bug #40983.
Diffstat (limited to 'sys-devel/autoconf/files')
-rw-r--r-- | sys-devel/autoconf/files/ac-wrapper-2.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-devel/autoconf/files/ac-wrapper-2.pl b/sys-devel/autoconf/files/ac-wrapper-2.pl index c720d9fefa10..5601bc74f732 100644 --- a/sys-devel/autoconf/files/ac-wrapper-2.pl +++ b/sys-devel/autoconf/files/ac-wrapper-2.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; |