[grilo] build: compile libs



commit 488cf1195a4d5df4cbfa78d2f8fe09ed7efdb342
Author: Víctor Manuel Jáquez Leal <vjaquez igalia com>
Date:   Thu Sep 16 17:42:39 2010 +0200

    build: compile libs
    
    Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez igalia com>

 Makefile.am  |    2 +-
 configure.ac |   12 ++++++++++++
 2 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index c630370..2682e61 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,7 +7,7 @@
 
 ACLOCAL_AMFLAGS = -I m4
 
-SUBDIRS = src bindings tools tests
+SUBDIRS = src libs bindings tools tests
 
 if ENABLE_GTK_DOC
 SUBDIRS += doc
diff --git a/configure.ac b/configure.ac
index bbdbb3e..d8760ef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -104,6 +104,14 @@ PKG_CHECK_MODULES(GTU, gtk+-2.0 \
 
 AM_CONDITIONAL(BUILD_GRILO_TEST_UI, test "x$BUILD_GRILO_TEST_UI" = "xyes")
 
+# net library
+
+PKG_CHECK_MODULES(NET, libsoup-2.4,
+			HAVE_LIBSOUP=yes,
+			HAVE_LIBSOUP=no)
+
+AM_CONDITIONAL(BUILD_GRILO_NET, test "x$HAVE_LIBSOUP" = "xyes")
+
 # ----------------------------------------------------------
 # UNINSTALLED SUPPORT
 # ----------------------------------------------------------
@@ -220,10 +228,14 @@ 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
   tests/python/util.py
+  libs/Makefile
+  libs/net/Makefile
   tools/Makefile
   tools/grilo-test-ui/Makefile
   tools/grilo-inspect/Makefile



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