From 33846e5122fbf8a964f278eb01ad821e643bb63c Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 10 Jun 2008 00:10:04 +0000 Subject: Add syslog logging --- configure.in | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index d17e554..f366211 100644 --- a/configure.in +++ b/configure.in @@ -87,6 +87,15 @@ if test "$enable_debug" = "yes"; then echo "enabling debug compile mode" fi +# Log to syslog +AC_ARG_WITH(syslog, + AC_HELP_STRING([--without-syslog], + [Don't log to syslog in addition to slapd logs])) + +if test "$with_syslog" != "no"; then + AC_DEFINE_UNQUOTED(WITH_SYSLOG, 1, [With syslog logging]) +fi + AC_CONFIG_FILES([ Makefile plugin/Makefile -- cgit v1.2.3