* Steven Woody wrote on Fri, Jun 06, 2008 at 08:34:05PM CEST:
> Before received your post, I tried
>   xxxx_CFLAGS = @AM_CFLAGS@ -additional-flags ...
> but failed, but
>   xxxx_CFLAGS = @CXXFLAGS@ -additional-flags ...

(Is that mixup of C and C++-specific flag names a typo in your mail?)

> will passed the make though this is not what I want.  I just wonder
> why @CXXFLAGS@ is okay while @AM_CFLAGS@ not

Both are ok, iff the corresponding variable is AC_SUBSTed from
configure.ac.  CFLAGS and CXXFLAGS are AC_SUBSTed by default, with
AM_CFLAGS and AM_CXXFLAGS you would have to do it manually.

Cheers,
Ralf


Reply via email to