Re: enable/disable configure options for subpackages

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

 



On Fri, Jul 15, 2005 at 12:14:44PM +0200, Stepan Kasal wrote:
> Hello,
> 
> On Thu, Jul 14, 2005 at 03:36:48PM -0400, Bob Rossi wrote:
> > > > Is there a way to pass in --disable-shared to the AC_CONFIG_SUBDIRS?
> 
> I apologize for the wrong answer I gave previously.
> 
> No, I don't know about any such solution.
> 
> Of course some hacks are possible:
> 1) fiddle with ac_args before AC_OUTPUT.
>    Of course this solution may easily break with future versions of autoconf.
> 
> 2) Read what AC_CONFIG_SUBDIRS does (how it propagates the arguments), and
>    do the same in configure.ac
> 
> 3) Simply call the embedded configure, and add features from
>    AC_CONFIG_SUBDIRS only when someone asks for it.
> 
> All these advices are obvious, I know...

These answers are all very helpful. However, I'm wondering if there is a
simple way of sending the --disable-shared option to AC_CONFIG_SUBDIRS
in a way that will be good with future versions of autoconf.

Just wondering if this feature is supported by autoconf? Does autoconf
only pass the explicit arguments down to the lower confurations? or if I
have a --enable-shared=no defaulted option, would that work?

Thanks,
Bob Rossi


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux