summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a0c063c2..8644a190 100644
--- a/configure.ac
+++ b/configure.ac
@@ -325,6 +325,17 @@ AC_ARG_ENABLE(kmsg,
)
AM_CONDITIONAL(ENABLE_IMKMSG, test x$enable_kmsg = xyes)
+# journal
+AC_ARG_ENABLE(journal,
+ [AS_HELP_STRING([--enable-journal],[Systemd journal message import @<:@default=no@:>@])],
+ [case "${enableval}" in
+ yes) enable_journal="yes" ;;
+ no) enable_journal="no" ;;
+ *) AC_MSG_ERROR(bad value ${enableval} for --enable-journal) ;;
+ esac],
+ [enable_journal="no"]
+)
+AM_CONDITIONAL(ENABLE_IMJOURNAL, test x$enable_journal = xyes)
# inet
AC_ARG_ENABLE(inet,
@@ -1319,6 +1330,7 @@ AC_CONFIG_FILES([Makefile \
plugins/im3195/Makefile \
plugins/imgssapi/Makefile \
plugins/imuxsock/Makefile \
+ plugins/imjournal/Makefile \
plugins/immark/Makefile \
plugins/imklog/Makefile \
plugins/imkmsg/Makefile \
@@ -1389,6 +1401,7 @@ echo " file input module enabled: $enable_imfile"
echo " Solaris input module enabled: $enable_imsolaris"
echo " periodic statistics module enabled: $enable_impstats"
echo " imzmq3 input module enabled: $enable_imzmq3"
+echo " imjournal input module enabled: $enable_journal"
echo
echo "---{ output plugins }---"
echo " Mail support enabled: $enable_mail"