build:autoconf: fix output of syslog-facility check
authorBjörn Jacke <bj@sernet.de>
Wed, 20 Feb 2013 18:57:24 +0000 (19:57 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 18 Jul 2013 18:01:32 +0000 (20:01 +0200)
thanks to Thomas Bork for reporting!

Signed-off-by: Bjoern Jacke <bj@sernet.de>
Fix bug #9983 - configure and syslog facility and disk-quotas support.

source3/configure.in

index 5b14a24131ff3834f84e9b0f168d2a1aa71991f7..42c23e37f7085c2daab5955f557df56b12c96d93 100644 (file)
@@ -4876,12 +4876,15 @@ AC_ARG_WITH(syslog-facility,
   if test "$withval" = "no" ; then
     AC_MSG_ERROR([argument to --with-syslog-facility must be a string])
   else
+     AC_MSG_RESULT([$withval])
      if test "$withval" != "yes" ; then
         syslog_facility="$withval"
        AC_DEFINE_UNQUOTED(SYSLOG_FACILITY,$syslog_facility, [syslog facility to log to])
      fi
   fi
-])
+],
+AC_MSG_RESULT(no)
+)
 
 #################################################
 # check for experimental disk-quotas support