summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-02-23 18:06:38 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-02-23 18:06:38 +0100
commite983e130535a4b4ff4e3ce4041015a180649a2ae (patch)
treedeb51aecf36ab2fc0443542f049b66174571a2fb /configure.ac
parent9053b30c6dfe2d8b3eab141cb2ab5893c16b08a2 (diff)
downloadrsyslog-e983e130535a4b4ff4e3ce4041015a180649a2ae.zip
rsyslog-e983e130535a4b4ff4e3ce4041015a180649a2ae.tar.gz
rsyslog-e983e130535a4b4ff4e3ce4041015a180649a2ae.tar.xz
mmaudit: added skeleton (copy of mmjsonparse)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac19
1 files changed, 19 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 117e644..af07881 100644
--- a/configure.ac
+++ b/configure.ac
@@ -856,6 +856,23 @@ fi
AM_CONDITIONAL(ENABLE_MMJSONPARSE, test x$enable_mmjsonparse = xyes)
+
+# mmaudit
+AC_ARG_ENABLE(mmaudit,
+ [AS_HELP_STRING([--enable-mmaudit],[Enable building mmaudit support @<:@default=no@:>@])],
+ [case "${enableval}" in
+ yes) enable_mmaudit="yes" ;;
+ no) enable_mmaudit="no" ;;
+ *) AC_MSG_ERROR(bad value ${enableval} for --enable-mmaudit) ;;
+ esac],
+ [enable_mmaudit=no]
+)
+if test "x$enable_mmaudit" = "xyes"; then
+ PKG_CHECK_MODULES(LIBLOGNORM, lognorm >= 0.3.1)
+fi
+AM_CONDITIONAL(ENABLE_MMAUDIT, test x$enable_mmaudit = xyes)
+
+
# RELP support
AC_ARG_ENABLE(relp,
[AS_HELP_STRING([--enable-relp],[Enable RELP support @<:@default=no@:>@])],
@@ -1257,6 +1274,7 @@ AC_CONFIG_FILES([Makefile \
plugins/omudpspoof/Makefile \
plugins/mmnormalize/Makefile \
plugins/mmjsonparse/Makefile \
+ plugins/mmaudit/Makefile \
plugins/omelasticsearch/Makefile \
plugins/sm_cust_bindcdr/Makefile \
plugins/mmsnmptrapd/Makefile \
@@ -1308,6 +1326,7 @@ echo
echo "---{ message modification modules }---"
echo " mmnormalize module will be compiled: $enable_mmnormalize"
echo " mmjsonparse module will be compiled: $enable_mmjsonparse"
+echo " mmjaduit module will be compiled: $enable_mmaudit"
echo " mmsnmptrapd module will be compiled: $enable_mmsnmptrapd"
echo
echo "---{ strgen modules }---"