[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3194-g3729670

Tim Prouty tprouty at samba.org
Tue Nov 25 01:38:06 GMT 2008


The branch, v3-2-test has been updated
       via  372967099ed032832cbc5aa107eeb92949b3c139 (commit)
      from  dbc9acf637397766fa663358424af5342c628d5e (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 372967099ed032832cbc5aa107eeb92949b3c139
Author: Dan Sledz <dsledz at isilon.com>
Date:   Sun Nov 16 17:40:03 2008 -0800

    [PATCH] Allow SYSLOG_FACILITY to be modified with a new configure option called --with-syslog-facility

-----------------------------------------------------------------------

Summary of changes:
 source/configure.in |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/configure.in b/source/configure.in
index 32d21b7..33e30a4 100644
--- a/source/configure.in
+++ b/source/configure.in
@@ -4369,6 +4369,22 @@ AC_ARG_WITH(syslog,
 )
 
 #################################################
+# check for custom syslog facility
+AC_MSG_CHECKING(whether to use a custom syslog facility)
+AC_ARG_WITH(syslog-facility,
+[AS_HELP_STRING([--with-syslog-facility], [Use a custom syslog facility (default=none)])],
+[
+  if test "$withval" = "no" ; then
+    AC_MSG_ERROR([argument to --with-syslog-facility must be a string])
+  else
+     if test "$withval" != "yes" ; then
+        syslog_facility="$withval"
+	AC_DEFINE_UNQUOTED(SYSLOG_FACILITY,$syslog_facility, [syslog facility to log to])
+     fi
+  fi
+])
+
+#################################################
 # check for experimental disk-quotas support
 
 samba_cv_WITH_QUOTAS=auto


-- 
Samba Shared Repository


More information about the samba-cvs mailing list