Re: CONFIG_SUBDIRS defaults

From:

Richard Ash

Subject:

Re: CONFIG_SUBDIRS defaults

Date:

Sat, 05 May 2012 14:07:36 +0100

On Thu, 2012-05-03 at 21:28 +0930, Michael Talbot-Wilson wrote:
> Is there any way for the main configure, as generated by autoconf, to
> automatically override defaults for options in the one invoked with
> AC_CONFIG_SUBDIRS()? Or can it only be done by the user manually
> entering the option? I'd like the main configure run with no options
> to override the default of a setting that only exists in the other
> one, but I can't see how to do it.
$ac_configure_args seems to be the best available solution, although
it's an undocumented autoconf internal.
Some previous mailing list messages on it (no, the hypothetical macro
never materialised):
http://lists.gnu.org/archive/html/autoconf/2009-03/msg00062.htmlhttp://lists.gnu.org/archive/html/autoconf/2010-09/msg00090.html
Richard