build-sys: Use AM_CPPFLAGS instead of AM_CFLAGS for preprocessor arguments
authorJavier Jardón <jjardon@gnome.org>
Sat, 23 Mar 2013 18:26:09 +0000 (18:26 +0000)
committerTanu Kaskinen <tanuk@iki.fi>
Mon, 25 Mar 2013 15:00:48 +0000 (17:00 +0200)
commite2cb872120b86507f182d238fe983d5e83d3dfb4
tree90fc84e9fbc2268293c78b882ff65883fcbd8afb
parentfeeec28de481de41fc99f73ccc9bc64ff06235f8
build-sys: Use AM_CPPFLAGS instead of AM_CFLAGS for preprocessor arguments

As the automake documentation says:

AM_CPPFLAGS: The contents of this variable are passed to every compilation
that invokes the C preprocessor; it is a list of arguments to the preprocessor.
For instance, -I and -D options should be listed here

AM_CFLAGS: This is the variable the Makefile.am author can use to pass in
additional C compiler flags.

http://www.gnu.org/software/automake/manual/html_node/Program-Variables.html
src/Makefile.am