This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]