Charles Wilson wrote:
> The problem comes down to assignment.  Some of the variables in the
> section emitted by gnulib-tool prior to the snippets are assigned using
> '='.  Therefore, you can't do this:
> 
> Makefile.am:
> DEFAULT_INCLUDES = <some setting that's not the _default_ DEFAULT_INCLUDES>
> AM_CPPFLAGS = -DNO_XMALLOC
> include Makefile.am.gnulib
>
> I suppose you *could* do it this way, tho (assuming order is not
> important)
> 
> DEFAULT_INCLUDES = <some setting that's not the _default_ DEFAULT_INCLUDES>
> include Makefile.am.gnulib
> AM_CPPFLAGS += -DNO_XMALLOC

Yes, that's exactly what the users of --makefile-name (coreutils in particular)
do.

Bruno


Reply via email to