[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: enable/disable configure options for subpackages
From: |
Stepan Kasal |
Subject: |
Re: enable/disable configure options for subpackages |
Date: |
Fri, 15 Jul 2005 12:14:44 +0200 |
User-agent: |
Mutt/1.4.1i |
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...
Stepan
Stepan