On Wed, Feb 02, 2005 at 11:46:28AM +0100, Ralf Corsepius wrote: > MYDIR=$(top_builddir) > include $(MYDIR)/aminclude.am
This should have the same effect as include $(top_builddir)/aminclude.am which Tom is trying to avoid because it is not portable. If you want to portably include (non-automake) Makefile fragment, don't use include. Instead try to use AC_SUBST_FILE, or (IMHO better) something like AC_CONFIG_FILES([Makefile:Makefile.in:fragment.mk]).