summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-03-12 16:49:09 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-03-12 16:49:09 +0100
commit7d509d53df75bc2146bddebcbab14583474ac543 (patch)
tree1af606c023419130eab87f206a620f0c8a47a885 /configure.ac
parent9a3ff6a2b118070bd33d746078afb45194253b76 (diff)
downloadrsyslog-7d509d53df75bc2146bddebcbab14583474ac543.zip
rsyslog-7d509d53df75bc2146bddebcbab14583474ac543.tar.gz
rsyslog-7d509d53df75bc2146bddebcbab14583474ac543.tar.xz
ommongodb: milestone:refactored to use libmongo-client
which is waaaaaaay better than the 10gen client driver
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f6029c1..3f5b6e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1229,6 +1229,11 @@ AC_ARG_ENABLE(ommongodb,
# 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)
+fi
AM_CONDITIONAL(ENABLE_OMMONGODB, test x$enable_ommongodb = xyes)
# end of mongodb code
@@ -1309,7 +1314,6 @@ echo
echo "---{ output plugins }---"
echo " Mail support enabled: $enable_mail"
echo " omprog module will be compiled: $enable_omprog"
-echo " output mongodb module will be compiled: $enable_ommongodb"
echo " omstdout module will be compiled: $enable_omstdout"
echo " omhdfs module will be compiled: $enable_omhdfs"
echo " omelasticsearch module will be compiled: $enable_elasticsearch"
@@ -1337,6 +1341,7 @@ echo "---{ database support }---"
echo " MySql support enabled: $enable_mysql"
echo " libdbi support enabled: $enable_libdbi"
echo " PostgreSQL support enabled: $enable_pgsql"
+echo " mongodb support enabled: $enable_ommongodb"
echo " Oracle (OCI) support enabled: $enable_oracle"
echo
echo "---{ protocol support }---"