* bin/autoconf.as (AUTOM4TE): Default to a fully qualified path

name, so that symlinks to 'autoconf' work properly.  Bug reported
by Bruno Haible.
* bin/autoheader.in (AUTOM4TE): Likewise.
* bin/autoreconf.in (autoconf, autoheader): Likewise.
* bin/autoscan.in (autom4te): Likewise.
* bin/autoupdate.in (autom4te): Likewise.
This commit is contained in:
Paul Eggert 2002-06-12 17:26:19 +00:00
parent 3029d70467
commit 9edd82d2ee
6 changed files with 14 additions and 6 deletions

View File

@ -1,5 +1,13 @@
2002-06-12 Paul Eggert <eggert@twinsun.com>
* bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
name, so that symlinks to 'autoconf' work properly. Bug reported
by Bruno Haible.
* bin/autoheader.in (AUTOM4TE): Likewise.
* bin/autoreconf.in (autoconf, autoheader): Likewise.
* bin/autoscan.in (autom4te): Likewise.
* bin/autoupdate.in (autom4te): Likewise.
* lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
on Solaris 2.5.1.

View File

@ -74,7 +74,7 @@ echo \"\$help\" >&2
exit 1"
# Variables.
: ${AUTOM4TE=@autom4te-name@}
: ${AUTOM4TE='@bindir@/@autom4te-name@'}
dir=`AS_DIRNAME([$0])`
outfile=
verbose=:

View File

@ -41,7 +41,7 @@ use strict;
use vars qw ($config_h %verbatim %symbol);
# Lib files.
my $autom4te = $ENV{'AUTOM4TE'} || '@autom4te-name@';
my $autom4te = $ENV{'AUTOM4TE'} || '@bindir@/@autom4te-name@';
local $config_h;
my $config_h_in;
my @include;

View File

@ -84,8 +84,8 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
";
# Lib files.
my $autoconf = $ENV{'AUTOCONF'} || '@autoconf-name@';
my $autoheader = $ENV{'AUTOHEADER'} || '@autoheader-name@';
my $autoconf = $ENV{'AUTOCONF'} || '@bindir@/@autoconf-name@';
my $autoheader = $ENV{'AUTOHEADER'} || '@bindir@/@autoheader-name@';
my $automake = $ENV{'AUTOMAKE'} || 'automake';
my $aclocal = $ENV{'ACLOCAL'} || 'aclocal';
my $libtoolize = $ENV{'LIBTOOLIZE'} || 'libtoolize';

View File

@ -78,7 +78,7 @@ my $configure_scan = 'configure.scan';
my $log = new Autom4te::XFile ">$me.log";
# Autoconf and lib files.
my $autom4te = $ENV{'AUTOM4TE'} || '@autom4te-name@';
my $autom4te = $ENV{'AUTOM4TE'} || '@bindir@/@autom4te-name@';
my $autoconf = "$autom4te --language=autoconf";
my @include = ('@datadir@');

View File

@ -36,7 +36,7 @@ use Autom4te::XFile;
use strict;
# Lib files.
my $autom4te = $ENV{'AUTOM4TE'} || '@autom4te-name@';
my $autom4te = $ENV{'AUTOM4TE'} || '@bindir@/@autom4te-name@';
my $autoconf = "$autom4te --language=autoconf";
# We need to find m4sugar.
my @include = ('@datadir@');