diff options
author | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-06-02 16:20:02 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-06-11 19:45:42 +0200 |
commit | f52c7ea9d045db3a1f313f92ef786cbb58594a50 (patch) | |
tree | 0ce30b8ac515987b87a609eb2403e218bf6ff07d /configure.ac | |
parent | ed23d075cae1353dcbec06925b2491e09395aafe (diff) |
Add minimalistic syslog daemon
For now this daemon simply dumps all syslog messages into seperate log
files and doesn't do much parsing. Since the messages are readable ASCII
anyway, this should not be to much of a problem and sufficient for
debugging.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 8a4b4d9..c1c7788 100644 --- a/configure.ac +++ b/configure.ac @@ -37,6 +37,16 @@ UL_WARN_ADD([-pedantic]) AC_SUBST([WARN_CFLAGS]) +AC_ARG_WITH([usyslogd], + [AS_HELP_STRING([--without-usyslogd], [Build without syslog daemon])], + [case "${withval}" in + yes) AM_CONDITIONAL([USYSLOGD], [true]) ;; + no) AM_CONDITIONAL([USYSLOGD], [false]) ;; + *) AC_MSG_ERROR([bad value ${withval} for --without-usyslogd]) ;; + esac], + [AM_CONDITIONAL([USYSLOGD], [true])]) + + AC_CONFIG_HEADERS([lib/include/config.h]) AC_DEFINE_DIR(SVCDIR, sysconfdir/init.d, [Startup service directory]) AC_DEFINE_DIR(TEMPLATEDIR, datadir/init, [Service template directory]) |