[Top][All Lists]

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

Re: Multiple subdirectories with non-similar configure needs

From: Ralf Wildenhues
Subject: Re: Multiple subdirectories with non-similar configure needs
Date: Fri, 1 Apr 2011 09:13:33 +0200
User-agent: Mutt/1.5.20 (2010-08-04)

* Harlan Stenn wrote on Fri, Apr 01, 2011 at 09:04:09AM CEST:
> Not sure if this is a great idea or not, but the only other alternative
> I can think of is to modify the in the subpackage, and I
> would rather not do that as it creates "extra work" when I go to upgrade
> the subpackage.

But you are aware of the configure.gnu "trick"?  See info Autoconf
Subdirectories for the semantics.

The trick is: you adjust the flags in subpkg/configure.gnu, then call
subpkg/configure with them.  The subpkg/configure.gnu file might
actually belong to the toplevel package.  A hack, but fairly easy.

I like the idea of a more flexible AC_CONFIG_SUBDIRS replacement, but
the suggested API does not really look appropriate yet, with all the
finer details of precious variables, (non-)shared config.cache handling
and so on still needing sane and precise semantics.


reply via email to

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