From d9e58809802a6068fa8794735c42ea2f8e96ff10 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Mon, 27 Jan 2025 23:55:28 +0100 Subject: Fix the configuration for the JSON-GLib library. --- configure.ac | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 2ff719a..73a54e7 100644 --- a/configure.ac +++ b/configure.ac @@ -241,6 +241,10 @@ AC_ARG_ENABLE([magic-support], AS_HELP_STRING([--disable-magic-support], [disable magic number recognition [default=no]]), [], [enable_magic_support=yes]) +AC_ARG_ENABLE([jsonglib-support], + AS_HELP_STRING([--disable-jsonglib-support], [disable jsonglib support [default=no]]), + [], [enable_jsonglib_support=yes]) + AC_ARG_ENABLE([python-bindings], AS_HELP_STRING([--disable-python-bindings], [disable Python bindings [default=no]]), [], [enable_python_bindings=yes]) @@ -600,8 +604,6 @@ if test "x$BUILD_JSONGLIB_SUPPORT_TRUE" = "x"; then CPPFLAGS="$CPPFLAGS -DINCLUDE_JSONGLIB_SUPPORT" fi -curl - PKG_CHECK_MODULES(LIBJSONGLIB,json-glib-1.0 >= 1.6.6,[libjsonglib_found=yes],[libjsonglib_found=no]) @@ -907,7 +909,7 @@ echo The client URL library....................... : $libcurl_version echo The YAML support library..................... : $libyaml_version echo The magic number recognition library......... : $libmagic_version echo The high-performance matching library........ : $libhs_version -echo The JSON Parser for GLib library............. : $libjsonglib_version +echo The JSON Parser for the GLib library......... : $libjsonglib_version echo echo Available Python programming language........ : $python3_version -- cgit v0.11.2-87-g4458