[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ac_configure_args
From: |
Sam Steingold |
Subject: |
Re: ac_configure_args |
Date: |
Tue, 28 Sep 2010 14:28:16 -0400 |
Hi Ralf, thanks a lot for your reply!
On Tue, Sep 28, 2010 at 1:30 PM, Ralf Wildenhues <address@hidden> 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 address@hidden
how are they different?
--
Sam Steingold <http://sds.podval.org>