[Top][All Lists]

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

Re: `--prefix /foo' mishandled in sub-configure invocation

From: Akim Demaille
Subject: Re: `--prefix /foo' mishandled in sub-configure invocation
Date: 08 Nov 2001 15:38:13 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)

>>>>> "Ralf" == Ralf Corsepius <address@hidden> writes:

Ralf> Therefore, this considering '--prefix foo' in argument parsing
Ralf> results into basically different requirements on parsers [1] and
Ralf> therefore must be documented (or officially deprecicated), IMHO.
>> Rather, I'd like to understand why you post-parse the arguments,
>> since that's the actual bottom line.
Ralf> Yep. I guess you know :-)


Ralf> Working around deficiencies of my "favorite" friends:
Ralf> AC_CONFIG_SUBDIRS and AC_ARG_VARS wrt. to deep packages and
Ralf> Canadian-Cross support.

This is really something we should clarify once for all.  I'm sorry
for not having been more responsive to this issue :(

Ralf> What I am doing basically is letting toplevel configure scripts
Ralf> set up configure-script arguments, environment variables (CC
Ralf> etc) and build directories (eg. --with-target-subdir) for
Ralf> several sub-packages, processing canonicalization tripples,
Ralf> prefixes etc.

Good, but it is still not clear to me why you have to play with these
arguments.  What is it that you need?  Adding arguments to sub
configure invocations?  Why do you need to parse the top level options
yourself?  Are the options passed by configure wrong?

Ralf> Another topic related to this is dynamically setting up
Ralf> config-subdirs (Working around the "you should use
Ralf> literals"-issue).

Please, note the *should*.  You *have* to use literals if you expect
some help from Autoconf, but if you think Autoconf does not need to
know, then it should work fine, doesn't it?  The only thing that won't
work (currently) is --help=recursive.

So what is the actual problem with AC_CONFIG_SUBDIRS.  Is it that the
doc should be clarified?

reply via email to

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