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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]