diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 4b67c844..b319a011 100644 --- a/configure.ac +++ b/configure.ac @@ -665,6 +665,12 @@ case "$ac_cv_search__obstack_free" in esac AC_SUBST([obstack_LIBS]) +dnl formerly checked for json_object_array_add, but debuginfod needs a newer function +AC_CHECK_LIB(json-c, json_object_from_fd, [ + 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. |