* Bruno Haible wrote on Mon, Aug 21, 2006 at 08:53:42PM CEST: > Ralf Wildenhues wrote: > > > > or from configure.ac: > > AC_SUBST([gl_noinst_ltlibs], [libfoo.la]) > > Uuh, after what you said above, this is betting on automake's unability > to optimize AC_SUBSTed variables. What if automake improves...? Seems > as dangerous to me as the first approach.
Actual AC_SUBSTed variables @substituted@ cannot be optimized: at automake time, you can not know anything about them. With makefile macros $(variable), there is a chance that an improved automake does something different here. > > But say, do you have two tools writing in the same Makefile.am (or does > > one include the other)? > > Actually I'm lucky: the second tool (gnulib-tool) "sees" the output of > the first tool (my hand), so I can actually handle this case in the > second tool. Good. Thanks for solving it this way. Cheers, Ralf