[PATCH core 05/10] 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 8ce9435..9ffd14f 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 2fa5934..bfd0623 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
-- 
1.7.1



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