autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoconf 2.53 doesn't find autom4te


From: Paul Eggert
Subject: Re: autoconf 2.53 doesn't find autom4te
Date: Wed, 12 Jun 2002 10:33:58 -0700 (PDT)

> From: Bruno Haible <address@hidden>
> Date: Wed, 12 Jun 2002 13:55:34 +0200 (CEST)
> 
> Apparently autoconf assumes to be installed in the PATH. Why can't it
> call autom4te as "@bindir@/autom4te"?

Yes, it should do that, as the GNU coding standards require it.
Thanks for the bug report.  There are obvious downsides to having
absolute path names in installed files, but nowadays it's so common in
other packages (e.g., due to runtime linking) that we might as well
get used to it.

I installed the following patch.  Until the next release you can work
around the problem by futzing with your environment, e.g.:

export AUTOCONF=/packages/gnu-inst-autoconf/2.53/bin/autoconf
export AUTOHEADER=/packages/gnu-inst-autoconf/2.53/bin/autoheader
export AUTOM4TE=/packages/gnu-inst-autoconf/2.53/bin/autom4te


2002-06-12  Paul Eggert  <address@hidden>

        * 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.

Index: bin/autoconf.as
===================================================================
RCS file: /cvsroot/autoconf/autoconf/bin/autoconf.as,v
retrieving revision 1.2
diff -p -u -r1.2 autoconf.as
--- bin/autoconf.as     19 Apr 2002 18:59:17 -0000      1.2
+++ bin/autoconf.as     12 Jun 2002 17:23:54 -0000
@@ -74,7 +74,7 @@ echo \"\$help\" >&2
 exit 1"
 
 # Variables.
-: address@hidden@}
+: ${AUTOM4TE='@bindir@/@autom4te-name@'}
 dir=`AS_DIRNAME([$0])`
 outfile=
 verbose=:
Index: bin/autoheader.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/bin/autoheader.in,v
retrieving revision 1.117
diff -p -u -r1.117 autoheader.in
--- bin/autoheader.in   23 Apr 2002 16:59:12 -0000      1.117
+++ bin/autoheader.in   12 Jun 2002 17:23:54 -0000
@@ -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;
Index: bin/autoreconf.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/bin/autoreconf.in,v
retrieving revision 1.98
diff -p -u -r1.98 autoreconf.in
--- bin/autoreconf.in   3 May 2002 16:09:11 -0000       1.98
+++ bin/autoreconf.in   12 Jun 2002 17:23:54 -0000
@@ -84,8 +84,8 @@ warranty; not even for MERCHANTABILITY o
 ";
 
 # 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';
Index: bin/autoscan.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/bin/autoscan.in,v
retrieving revision 1.77
diff -p -u -r1.77 autoscan.in
--- bin/autoscan.in     19 Apr 2002 19:01:06 -0000      1.77
+++ bin/autoscan.in     12 Jun 2002 17:23:54 -0000
@@ -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@');
 
Index: bin/autoupdate.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/bin/autoupdate.in,v
retrieving revision 1.35
diff -p -u -r1.35 autoupdate.in
--- bin/autoupdate.in   21 Apr 2002 07:25:20 -0000      1.35
+++ bin/autoupdate.in   12 Jun 2002 17:23:55 -0000
@@ -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@');



reply via email to

[Prev in Thread] Current Thread [Next in Thread]