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 | 8611aee233b4563f628c63cf89c7dbc6697e3c86 (patch) | |
tree | 817fe529fc7894e7993f80e3e0ab03fd8bcc9de4 /sys-devel/autoconf/files | |
parent | Initial Import. (diff) | |
download | historical-8611aee233b4563f628c63cf89c7dbc6697e3c86.tar.gz historical-8611aee233b4563f628c63cf89c7dbc6697e3c86.tar.bz2 historical-8611aee233b4563f628c63cf89c7dbc6697e3c86.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; |