[grilo] build: avoid the export of NETCACHE variable



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

    build: avoid the export of NETCACHE variable
    
    NETCACHE variables is not used for compiler tasks, so the PKG_CHECK_MODULES
    can be replaced by a PKG_CHECK_EXISTS, which does not export an automake
    variable, as we only need to know if cache operations are supported in libsoup
    given the version number.
    
    Signed-off-by: VÃctor Manuel JÃquez Leal <vjaquez igalia com>

 configure.ac |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f4a06a2..2e61724 100644
--- a/configure.ac
+++ b/configure.ac
@@ -117,9 +117,9 @@ PKG_CHECK_MODULES(NET, libsoup-2.4,
 			HAVE_LIBSOUP=yes,
 			HAVE_LIBSOUP=no)
 
-PKG_CHECK_MODULES(NETCACHE, libsoup-2.4 >= 2.33.4,
-                            HAVE_CACHED_LIBSOUP=yes,
-                            HAVE_CACHED_LIBSOUP=no)
+PKG_CHECK_EXISTS([libsoup-2.4 >= 2.33.4],
+		 [HAVE_CACHED_LIBSOUP=yes],
+		 [HAVE_CACHED_LIBSOUP=no])
 AC_ARG_ENABLE([grl_net],
         AS_HELP_STRING([--enable-grl-net],
                 [Enable Grilo Net library (default: auto)]),



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