[libvirt] [PATCH] Don't build nwfilter examples when not building libvirtd

Matthew Booth mbooth at redhat.com
Fri Apr 16 13:49:46 UTC 2010


 * Makefile.am: Make examples/xml/nwfilter conditional on WITH_LIBVIRTD
---
 Makefile.am |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index dd334b5..40352c4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,8 +5,11 @@ GENHTML = genhtml
 
 SUBDIRS = gnulib/lib include src daemon tools proxy docs gnulib/tests \
   python tests po examples/domain-events/events-c examples/hellolibvirt \
-  examples/dominfo examples/domsuspend examples/python examples/apparmor \
-  examples/xml/nwfilter
+  examples/dominfo examples/domsuspend examples/python examples/apparmor
+
+if WITH_LIBVIRTD
+  SUBDIRS += examples/xml/nwfilter
+endif
 
 ACLOCAL_AMFLAGS = -I m4 -I gnulib/m4
 
-- 
1.6.6.1




More information about the libvir-list mailing list