autoconf-patches
[Top][All Lists]
Advanced

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

Re: AC_PROG_PERL (macro, docs, used in configure.in)


From: Akim Demaille
Subject: Re: AC_PROG_PERL (macro, docs, used in configure.in)
Date: 27 Jan 2001 14:17:16 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake)

| On 24 Jan 2001, Akim Demaille wrote:
| > Well, I give up, this patch was not ready to be included.  It is not
| > using AC_PATH_PROG, and therefore we get:
| >
| > ~/src/ace % sed 1q autoscan                                       nostromo 
9:48
| > #! perl -w
| >
| >
| > I spent enough time on this.  If someone wants to fix it, here is the
| > proto fixed proto patch, but I am not including it.
| 
| Akim,
| 
| thanks for making this patch. I think that it should be applied as is.
| Reasons:
| 
| 1) There are many things that Automake 1.4 doesn't understand in
| Autoconf-2.50-style makefiles. Support for AC_PROG_PERL in Automake can be
| and will be fixed.
| 
| 2) Since Autoconf uses an old version of Automake with a new version of
| Autoconf, it's Ok to have workarounds, such as AC_SUBST(M4) and
| AC_SUBST(PERL). It's not the first workaround.

I think you missed my point: we need @PERL@ to be a path, at least on
my system, running a script starting with

#! perl -w

fails.  But actually the fix is somewhat simple: use what I posted to
compute the name of the $PERL to use, then use AC_PATH_PROG to resolve
this name to a path.



reply via email to

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