Hi Ralf, thanks a lot for your reply! On Tue, Sep 28, 2010 at 1:30 PM, Ralf Wildenhues <Ralf.Wildenhues@xxxxxx> wrote: > > Why are you making things so complicated? that's what I inherited :-) thanks for your suggestions! > AC_SUBST([module_configure_flags], ["$ac_configure_args"]) > > > - $ac_configure_args is quoted in a way suitable for evaluation. ÂThat > makes the above work. > > - $ac_configure_args must be corrected for sub configures: --srcdir > needs adjustment, --cache-file too, some args may need to be pruned. yes, I pass --srcdir & --cache-file myself. how do I prune them from ac_configure_args? > AC_INIT and AC_CONFIG_SUBDIRS currently share this task. is this functionality exported in some way? > - $ac_configure_args is not documented; but realizing that it is used in > several third-party packages, changing it without good reason is not > likely to happen. ÂThe documented way to get at configure args is to > save "$@" very soon after AC_INIT. so, is there a reason to use ac_configure_args instead of $@? how are they different? -- Sam Steingold <http://sds.podval.org> _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf