This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: SDL, automake, autoconf
Mattias Brändström <brasse@ludd.luth.se> writes:
[...]
> AM_CFLAGS="$AM_CFLAGS $SDL_CFLAGS"
> AM_LDFLAGS="$AM_LDFLAGS $SDL_LIBS"
[...]
Actually, doing this is a no-op unless you AC_SUBST AM_CFLAGS
and AM_LDFLAGS. I wouldn't recommend it. Better AC_SUBST
SDL_CFLAGS and SDL_LIBS, and use them where appropriate
in your Makefile.am (be it AM_CFLAGS or prog_CFLAGS).
--
Alexandre Duret-Lutz