Re: enable/disable configure options for subpackages

2005-07-27 Thread Bob Rossi
> > On Fri, Jul 15, 2005 at 12:14:44PM +0200, Stepan Kasal wrote: > > > 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

Re: enable/disable configure options for subpackages

2005-07-27 Thread Stepan Kasal
Hello, On Tue, Jul 26, 2005 at 08:55:30PM -0400, Bob Rossi wrote: > 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? it passes the options as they were given on the cmdline. So if you don't give

Re: enable/disable configure options for subpackages

2005-07-26 Thread Bob Rossi
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 an

Re: enable/disable configure options for subpackages

2005-07-15 Thread Stepan Kasal
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 be

Re: enable/disable configure options for subpackages

2005-07-14 Thread Bob Rossi
On Thu, Jul 14, 2005 at 04:57:06PM +0200, Stepan Kasal wrote: > Hello, > > On Thu, Jul 14, 2005 at 09:50:08AM -0400, Bob Rossi wrote: > > Is there a way to pass in --disable-shared to the AC_CONFIG_SUBDIRS? > > I looked into the source (status.m4, general.m4), and it seems that all > --enable-*

Re: enable/disable configure options for subpackages

2005-07-14 Thread Bob Friesenhahn
On Thu, 14 Jul 2005, Stepan Kasal wrote: Hello, On Thu, Jul 14, 2005 at 09:50:08AM -0400, Bob Rossi wrote: Is there a way to pass in --disable-shared to the AC_CONFIG_SUBDIRS? I looked into the source (status.m4, general.m4), and it seems that all --enable-* arguments are propagated to the

Re: enable/disable configure options for subpackages

2005-07-14 Thread Stepan Kasal
Hello, On Thu, Jul 14, 2005 at 09:50:08AM -0400, Bob Rossi wrote: > Is there a way to pass in --disable-shared to the AC_CONFIG_SUBDIRS? I looked into the source (status.m4, general.m4), and it seems that all --enable-* arguments are propagated to the subconfigures. Thus --disable-shared should

Re: enable/disable configure options for subpackages

2005-07-14 Thread Bob Friesenhahn
On Thu, 14 Jul 2005, Bob Rossi wrote: I already use, AC_CONFIG_SUBDIRS to configure the readline subpackage. However, by default the readline library builds both shared and static libraries. --enable-shared build shared libraries [default=YES] --enable-static build static libra