[grilo-plugins] build: detect through pkgconfig grilo-net



commit 65ddab2f9078c55de0a5a488d65d50b5ef856b7e
Author: Víctor Manuel Jáquez Leal <vjaquez igalia com>
Date:   Tue Sep 21 18:55:24 2010 +0200

    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..1510479 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)



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