summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2023-04-11 23:35:25 -0400
committerFrank Ch. Eigler <fche@redhat.com>2023-04-11 23:35:25 -0400
commite428fc4e8224b7a5e38545ee68da74c59b4013b3 (patch)
treefc17a94c033891e08da1be9835f05e50a085efe8 /configure.ac
parent6e9718089b05403947d8255423a849d425305925 (diff)
downloadelfutils-e428fc4e8224b7a5e38545ee68da74c59b4013b3.tar.gz
trial merge/rebase of debuginfod metadata search
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4b67c844..ba4d412f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -665,6 +665,11 @@ case "$ac_cv_search__obstack_free" in
esac
AC_SUBST([obstack_LIBS])
+AC_CHECK_LIB(json-c, json_object_array_add, [
+ AC_DEFINE([HAVE_JSON_C], [1], [Define if json-c is on the machine])
+ AC_SUBST(jsonc_LIBS, '-ljson-c')
+])
+
dnl The directories with content.
dnl Documentation.