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.
exit 1"
# Variables.
-: ${AUTOM4TE=@autom4te-name@}
+: ${AUTOM4TE='@bindir@/@autom4te-name@'}
dir=`AS_DIRNAME([$0])`
outfile=
verbose=:
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;
";
# 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';
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@');
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@');