/pidgin/main: 6cb7038d8172: New dependency: json-glib
Tomasz Wasilczyk
tomkiewicz at cpw.pidgin.im
Thu Sep 27 16:07:48 EDT 2012
Changeset: 6cb7038d81723cc6047a60520db43f06b0244898
Author: Tomasz Wasilczyk <tomkiewicz at cpw.pidgin.im>
Date: 2012-09-27 22:07 +0200
Branch: default
URL: http://hg.pidgin.im/pidgin/main/rev/6cb7038d8172
Description:
New dependency: json-glib
diffstat:
configure.ac | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diffs (35 lines):
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -816,6 +816,12 @@ AC_SUBST(LIBXML_CFLAGS)
AC_SUBST(LIBXML_LIBS)
dnl #######################################################################
+dnl # Check for JSON-GLib (required, if compiled with Gadu-Gadu support)
+dnl #######################################################################
+
+PKG_CHECK_MODULES([JSON], [json-glib-1.0], [enable_json="yes"], [enable_json="no"])
+
+dnl #######################################################################
dnl # Check for zlib (required)
dnl #######################################################################
@@ -1303,6 +1309,10 @@ AC_CHECK_FUNC(uname)
AC_ARG_ENABLE(fortify, [AC_HELP_STRING([--disable-fortify], [compile without FORTIFY_SOURCE support])], , enable_fortify=yes)
+if test \( "x$static_gg" = "xyes" -o "x$dynamic_gg" = "xyes" \) -a "x$enable_json" != "xyes" ; then
+ AC_MSG_ERROR([json-glib-1.0 not found (required, when compiling with Gadu-Gadu support)])
+fi
+
DEBUG_CFLAGS="$DEBUG_CFLAGS -DPURPLE_DISABLE_DEPRECATED -DPIDGIN_DISABLE_DEPRECATED -DFINCH_DISABLE_DEPRECATED -DGNT_DISABLE_DEPRECATED"
if test "x$GCC" = "xyes"; then
dnl We enable -Wall later.
@@ -2691,6 +2701,7 @@ echo Use X Session Management...... : $e
echo Use startup notification...... : $enable_startup_notification
echo Build with GtkSpell support... : $enable_gtkspell
echo Build with GCR widgets........ : $enable_gcr
+echo Build with JSON support....... : $enable_json
echo
echo Build with plugin support..... : $enable_plugins
echo Build with Mono support....... : $enable_mono
More information about the Commits
mailing list