Hello, On Sat, May 14, 2005 at 05:24:11PM +0100, Keith Marshall wrote: > > Stepan> abs_srcdir > > Stepan> abs_builddir > > Stepan> abs_top_srcdir > > Stepan> abs_top_builddir ... > Doesn't autoconf already AC_SUBST these? no, it doesn't. The variables are substituted, but it's not achieved by calling AC_SUBST. So Automake cannot discover these by tracing AC_SUBST. These variables are a bit tricky, because they might have different value for each file. (It's similar with the non-abs versions of these and with @INSTALL@.) Alexandre proposed: > > Why not AC_SUBST these variables in Autoconf? Because of the above, it's not natural to call AC_SUBST for these. Yes, I could use an m4_if inside AC_SUBST to handle them specially. Or perhaps you could trace a different macro, not directly AC_SUBST. Yet I still think having these in header-vars.am is the siplest way. > > Let's work on solution that don't require modifying Automake each > > time Autoconf introduces a new variable. I don't think that new directory-specific variables appear so often. Alexandre, what of the options mentioned above would you choose? Regards, Stepan Kasal _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf