On Sat, Jun 7, 2008 at 1:23 AM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > * Steven Woody wrote on Fri, Jun 06, 2008 at 06:44:46PM CEST: >> On Sat, Jun 7, 2008 at 12:22 AM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: >> > >> > (you can also AC_SUBST([AM_CFLAGS], [...]) from within configure.ac) > >> The big problem may be, the AM_CFLAGS will disappear if in a >> Makefile.am, there is a xxxx_CFLAGS. > > xxxx_CFLAGS = $(AM_CFLAGS) -additional-flags ... >
Cool! It works, Thank you! Before received your post, I tried xxxx_CFLAGS = @AM_CFLAGS@ -additional-flags ... but failed, but xxxx_CFLAGS = @CXXFLAGS@ -additional-flags ... will passed the make though this is not what I want. I just wonder why @CXXFLAGS@ is okay while @AM_CFLAGS@ not
