From 3a1128457bd229abf51d48a660abc4b4458b518b Mon Sep 17 00:00:00 2001 From: Paolo Bacchilega Date: Thu, 28 Mar 2013 17:55:21 +0000 Subject: configure: fixed unrecognized option --disable-libjson-glib [bug #696783] --- diff --git a/configure.ac b/configure.ac index b3e6845..d496b3b 100644 --- a/configure.ac +++ b/configure.ac @@ -518,16 +518,16 @@ AC_SUBST(LIBSOUP_LIBS) dnl =========================================================================== -AC_ARG_ENABLE([json_glib], +AC_ARG_ENABLE([libjson_glib], [AS_HELP_STRING([--disable-libjson-glib],[do not compile code that uses the libjson-glib library])],, - [enable_json_glib=yes]) + [enable_libjson_glib=yes]) -if test x$enable_json_glib = xyes ; then +if test x$enable_libjson_glib = xyes ; then PKG_CHECK_MODULES(JSON_GLIB, [json-glib-1.0 >= $JSON_GLIB_REQUIRED], [AC_DEFINE(HAVE_JSON_GLIB, 1, [Have libjson-glib]) - enable_json_glib=yes], - [enable_json_glib=no]) + enable_libjson_glib=yes], + [enable_libjson_glib=no]) fi AC_SUBST(JSON_GLIB_CFLAGS) AC_SUBST(JSON_GLIB_LIBS) @@ -548,7 +548,7 @@ fi AC_SUBST(WEBKIT2_CFLAGS) AC_SUBST(WEBKIT2_LIBS) -if [ test "x$enable_libsoup" = xyes && test "x$enable_json_glib" = xyes && test "x$enable_webkit2" = xyes ] ; then +if [ test "x$enable_libsoup" = xyes && test "x$enable_libjson_glib" = xyes && test "x$enable_webkit2" = xyes ] ; then enable_web_services=yes else enable_web_services=no -- cgit v0.9.1