bug-autoconf
[Top][All Lists]
Advanced

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

Re: value of @exec_prefix@ etc.


From: Paul Eggert
Subject: Re: value of @exec_prefix@ etc.
Date: Mon, 20 Dec 2004 13:30:33 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

"wolfgang haefelinger" <address@hidden> writes:

> I'm getting
>
>   exec_prefix     = ${prefix}
>
> Hmm, according to GNU coding standards it should be
>
>   exec_prefix     = $(prefix)
>
> ... Is there a way to tell  "autoconf"  to switch to the 
> second version or is this a bug?

There's no way to switch now.  Autoconf uses braces instead of parens
because sh, perl, etc. also accept braces, and autoconf uses the same
code for substituting into all these languages.

> I prefer to have $(prefix) as this appears to be portabler.

Portabler to which "make" versions, exactly?

POSIX has required support for ${var} for a dozen years now.  I have
used "make" variants that supported only $(var) but that was many many
years ago.  If this is still a real limitation, at least it should be
documented in the Autoconf manual, in its "Limitations of Make"
section.

Can you write a patch that would cause Autoconf to use $(prefix) for
Makefiles and ${prefix} for everything else?




reply via email to

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