I've been using AC_SUBST_FILE to put common targets into my
makefile.am's. eg, Makefile.am contains:
@FOO_TARGET@
where configure.ac contains
FOO_TARGET=foo_target
AC_SUBST_FILE(FOO_TARGET)
and foo_target contains:
foo:
echo foo
I would like to do this via AC_SUBST, but this
William Pursell [EMAIL PROTECTED] writes:
I'd like to get away from AC_SUBST_FILE, but I don't see a way
around the manner in which automake is building the Makefile.
Is there a way to construct a generic target via AC_SUBST?
How about using AM_CONDITIONAL instead?
Andreas.
--
Andreas
Andreas Schwab wrote:
William Pursell [EMAIL PROTECTED] writes:
I'd like to get away from AC_SUBST_FILE, but I don't see a way
around the manner in which automake is building the Makefile.
Is there a way to construct a generic target via AC_SUBST?
How about using AM_CONDITIONAL instead?
Hello William,
* William Pursell wrote on Mon, Oct 08, 2007 at 12:11:59PM CEST:
Andreas Schwab wrote:
William Pursell [EMAIL PROTECTED] writes:
I'd like to get away from AC_SUBST_FILE, but I don't see a way
around the manner in which automake is building the Makefile.
Is there a way to