[libvirt] [libvirt-glib 3/3] build-sys: s/INCLUDES/AM_CPPFLAGS

Christophe Fergeau cfergeau at redhat.com
Sun May 12 17:34:10 UTC 2013


automake outputs a warning about AM_CPPFLAGS being the recommended
name to use for INCLUDES
---
 libvirt-gconfig/tests/Makefile.am | 2 +-
 python/Makefile.am                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libvirt-gconfig/tests/Makefile.am b/libvirt-gconfig/tests/Makefile.am
index 4d1a564..c0dbf90 100644
--- a/libvirt-gconfig/tests/Makefile.am
+++ b/libvirt-gconfig/tests/Makefile.am
@@ -4,7 +4,7 @@ AM_CFLAGS = \
 		$(GOBJECT2_CFLAGS) \
 		$(LIBXML2_CFLAGS) \
 		$(WARN_CFLAGS)
-INCLUDES = -I$(top_srcdir)
+AM_CPPFLAGS = -I$(top_srcdir)
 LDADD = \
 		$(top_builddir)/libvirt-gconfig/libvirt-gconfig-1.0.la \
 		$(GOBJECT2_LIBS) \
diff --git a/python/Makefile.am b/python/Makefile.am
index 8f693bf..1471dce 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -1,6 +1,6 @@
 # Makefile for libvirt python library
 
-INCLUDES = \
+AM_CPPFLAGS = \
         $(WARN_CFLAGS) \
         -I$(PYTHON_INCLUDES) \
 	-I$(top_srcdir) \
-- 
1.8.2.1




More information about the libvir-list mailing list