On Tuesday 10 March 2009 06:49:12 Keith Marshall wrote: > On Tuesday 10 March 2009 07:18:26 Ralf Wildenhues wrote: > > I suppose Autoconf could provide a macro to access this variable > > which we could then document. > > That would be useful. I've used $ac_configure_args, filtered, to pass > to a sub-configure in a hybrid build, (where the main application is > cross-compiled, but the build process needs to create some tools, for > its own use on the `build' platform; the sub-configure needs to be > invoked with the --host spec filtered out, along with any reference > to host_alias, and IIRC, I also filtered out similar references which > relate to the --build spec; furthermore, the sub-configure cannot > share a cache file, with the main configure process). A documented, > and therefore hopefully stable, mechanism to achieve that objective > would be much preferred, to a technique based on an undocumented > feature, such as is currently required. later --host options clobber previous ones dont they ? so you could use the original args and just append --host=$build ... -mike
Attachment:
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf