summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2012-03-05 11:26:38 -0800
committerChase Douglas <chase.douglas@canonical.com>2012-03-06 09:08:45 -0800
commitdd6e963e0833b2920f1bb120b6fba6e2e3c60121 (patch)
tree4ba13c3df75250a87387798c8212867580864cf2 /configure.ac
parente888dcd08cb4b5ee332f155207a56f7098524e14 (diff)
Define automake CPP warning flags in Makefile.am, not configure.ac
Otherwise, AM_CPPFLAGS could not be overridden in Makefile.am. Also, move AM_CXXFLAGS to the top of src/Makefile.am to match. Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e6f94df..3178a3f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,7 +46,7 @@ AC_SUBST(DUMMY_CONF_PATH, "$datadir/xorg/gtest/dummy.conf")
AC_CONFIG_FILES([Makefile
xorg-gtest.pc])
-AC_SUBST(AM_CPPFLAGS, "-Wall -Werror")
+AC_SUBST(WARNING_CPPFLAGS, "-Wall -Werror")
AC_CONFIG_FILES([data/Makefile
doc/Makefile