[grilo-plugins] tmdb: Fix tmdb building even if libsoup isn't available
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] tmdb: Fix tmdb building even if libsoup isn't available
- Date: Tue, 17 Feb 2015 17:12:19 +0000 (UTC)
commit 1101c67b6b2ae2aa2bab16d3b9a976981e1643f1
Author: Guilhem Bonnefille <guilhem bonnefille gmail com>
Date: Sat May 3 16:35:19 2014 +0200
tmdb: Fix tmdb building even if libsoup isn't available
Disable the tmdb plugin if libsoup isn't available.
https://bugzilla.gnome.org/show_bug.cgi?id=743316
configure.ac | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 272a2e1..c3699aa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1269,12 +1269,12 @@ AC_ARG_ENABLE([tmdb],
[enable TMDb metadata plugin (default: auto)]),
[
AS_IF([test "x$enableval" = "xyes"],
- [AS_IF([test "x$HAVE_JSON_GLIB" = "xno" -o "x$HAVE_GRLNET" = "xno"],
- [AC_MSG_ERROR([json-glib-1.0 or ${GRLNET_NAME} not found, install it or use
--disable-tmdb])
+ [AS_IF([test "x$HAVE_JSON_GLIB" = "xno" -o "x$HAVE_GRLNET" = "xno" -o "x$HAVE_LIBSOUP" =
"xno"],
+ [AC_MSG_ERROR([json-glib-1.0, ${GRLNET_NAME} or libsoup not found, install it or use
--disable-tmdb])
])
])],
[
- AS_IF([test "x$HAVE_JSON_GLIB" = "xyes" -a "x$HAVE_GRLNET" = "xyes"],
+ AS_IF([test "x$HAVE_JSON_GLIB" = "xyes" -a "x$HAVE_GRLNET" = "xyes" -a "x$HAVE_LIBSOUP" = "xyes"],
[enable_tmdb=yes],
[enable_tmdb=no])
]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]