[PATCH plugins 01/14] build: detect through pkgconfig grilo-net



Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez igalia com>
---
 configure.ac |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index bcbb518..d8d6e67 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,6 +55,7 @@ else
 fi
 
 GRL_NAME=grilo-${GRL_VERSION}
+GRLNET_NAME=grilo-net-${GRL_VERSION}
 
 # ----------------------------------------------------------
 # DEBUG SUPPORT
@@ -97,6 +98,10 @@ AC_SUBST(GRL_PLUGINS_CONF_DIR)
 # EXTERNAL/OPTIONAL DEPENDENCIES
 # ----------------------------------------------------------
 
+PKG_CHECK_MODULES([GRLNET], [${GRLNET_NAME} = 0.1.6], 
+			    HAVE_GRLNET=yes, 
+			    HAVE_GRLNET=no)
+
 PKG_CHECK_MODULES(XML, libxml-2.0, HAVE_XML=yes, HAVE_XML=no)
 
 PKG_CHECK_MODULES(GIO, gio-2.0, HAVE_GIO=yes, HAVE_GIO=no)
-- 
1.7.1



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