[Top][All Lists]

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

Re: AC_CANONICAL_SYSTEM overwrites $@

From: Justin Erenkrantz
Subject: Re: AC_CANONICAL_SYSTEM overwrites $@
Date: Fri, 16 Jun 2006 12:12:11 -0700

On 6/15/06, Paul Eggert <address@hidden> wrote:
Tollef Fog Heen <address@hidden> writes:

> Apart from the «ewww» factor, why can't it do its work in a subshell
> and echo back the parameters to be set and those get eval-ed by
> configure?

Yes, something like that might work, given that you know the values
can't contain "'" (though you should probably check this).

It's unlikely that we'll buy the change back into Autoconf, though.

The point of our autoconf macro is to allow 'shortcuts', such that the argument


rewrites prefix/libexec/etc to a specific set of values (dictated by
our file config.layout) and then have explicit passed parameters
override those 'layout' files.

It looks like you switched the docs to recomend using AC_ARG_ENABLE,
but I'm not sure how that would address our issue.

We might be able to delay the AC_CANONICAL_SYSTEM invocation until
after we process the layout options - but I seem to recall a reason
why we delayed invoking those macros.

Thanks.  -- justin

reply via email to

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