[Spice-commits] Makefile.am

Christophe Fergau teuf at kemper.freedesktop.org
Wed Aug 8 08:44:53 PDT 2012


 Makefile.am |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 1e7fab6563355f997760054f8bbc86ef31ddfe42
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Wed Aug 8 16:06:58 2012 +0200

    build: make spice-controller.pc installation conditional
    
    It shouldn't be installed when controller support is disabled.

diff --git a/Makefile.am b/Makefile.am
index 0d168a8..a8d585b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -13,9 +13,12 @@ pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA =					\
 	spice-client-glib-2.0.pc			\
 	spice-client-gtk-$(SPICE_GTK_API_VERSION).pc	\
-	spice-controller.pc				\
 	$(NULL)
 
+if WITH_CONTROLLER
+pkgconfig_DATA += spice-controller.pc
+endif
+
 INTLTOOL_FILES =				\
 	intltool-extract.in			\
 	intltool-merge.in			\


More information about the Spice-commits mailing list