[grilo/0.1.x] build: avoid the export of NETCACHE variable
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo/0.1.x] build: avoid the export of NETCACHE variable
- Date: Wed, 23 Nov 2011 17:11:50 +0000 (UTC)
commit 9ad096ae06be056b51461253c53ea34b7aadfe87
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 26a3d1b..02d6bd9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -116,9 +116,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]