[grilo/0.1.x] build: conditional creation of grl-net.pc files



commit 608b42d13113f6a2a5db7aac9a79a9ff9cbe0b1d
Author: VÃctor Manuel JÃquez Leal <vjaquez igalia com>
Date:   Tue Nov 22 16:57:16 2011 +0100

    build: conditional creation of grl-net.pc files
    
    If libsoup is not available, then the grl-net library will not be built. Hence
    we shall not create the grl-net.pc files. Otherwise we will compile plugins
    that will not be able to be loaded.
    
    Signed-off-by: VÃctor Manuel JÃquez Leal <vjaquez igalia com>

 configure.ac |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 02d6bd9..de90df1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -255,12 +255,14 @@ AC_SUBST([builddir])
 # OUTPUT
 # ----------------------------------------------------------
 
+if test "x$HAVE_LIBSOUP" = "xyes"; then
+   AC_CONFIG_FILES([grilo-net-uninstalled.pc grilo-net-0.1.pc])
+fi
+
 AC_CONFIG_FILES([
   Makefile
   grilo-uninstalled.pc
   grilo-0.1.pc
-  grilo-net-uninstalled.pc
-  grilo-net-0.1.pc
   src/Makefile
   tests/Makefile
   tests/python/Makefile



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