Re: Multiple subdirectories with non-similar configure needs

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

 



* 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 configure.ac 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.

Cheers,
Ralf

_______________________________________________
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