* Keith Marshall wrote on Tue, Sep 15, 2009 at 01:33:34PM CEST: > On Tuesday 15 September 2009 05:31:04 Ralf Wildenhues wrote: > > > is there a way to have > > > sub-package-specific configure options? > > > > Not easily: the actual option strings as passed to each sub > > configure are the same (modulo --srcdir and --cache-file mangling > > of course). > > And this could represent a problem for the OP, (who originally wanted > to add zlib via AC_CONFIG_SUBDIRS). The problem is that, while zlib > does provide a configure script, it is substantially incompatible > with anything autoconf might generate: Well, in that case, the only viable way is to not use AC_CONFIG_SUBDIRS, but instead invoke the sub configure manually, probably best after AC_OUTPUT, by extracting and re-quoting the needed arguments from $ac_configure_args. See autoconf/status.m4:_AC_OUTPUT_SUBDIRS for how this is done. Or, fix zlib/configure. :-) Cheers, Ralf _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf