summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 3 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index d0accfeb..0fe664a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1279,14 +1279,13 @@ AC_ARG_ENABLE(ommongodb,
esac],
[enable_ommongodb=no]
)
-#
-# you may want to do some library checks here - see snmp, mysql, pgsql modules
-# for samples
-#
if test "x$enable_ommongodb" = "xyes"; then
PKG_CHECK_MODULES(LIBMONGO_CLIENT, libmongo-client >= 0.1.4)
AC_SUBST(LIBMONGO_CLIENT_CFLAGS)
AC_SUBST(LIBMONGO_CLIENT_LIBS)
+ PKG_CHECK_MODULES([JSON_C], [json])
+ AC_SUBST([JSON_CFLAGS])
+ AC_SUBST([JSON_LIBS])
fi
AM_CONDITIONAL(ENABLE_OMMONGODB, test x$enable_ommongodb = xyes)
# end of mongodb code