s3-waf: add --with-syslog option.
authorGünther Deschner <gd@samba.org>
Fri, 4 Feb 2011 16:42:10 +0000 (17:42 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 7 Feb 2011 09:50:39 +0000 (10:50 +0100)
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb  7 10:50:39 CET 2011 on sn-devel-104

source3/wscript

index ce8ee63bc645775c5bd92729a91e42e555f4f06c..af545507126a18ff868eb299146263c1192b4d2d 100644 (file)
@@ -53,6 +53,7 @@ def set_options(opt):
     opt.SAMBA3_ADD_OPTION('iconv')
     opt.SAMBA3_ADD_OPTION('acl-support')
     opt.SAMBA3_ADD_OPTION('dnsupdate')
+    opt.SAMBA3_ADD_OPTION('syslog')
 
 
 def configure(conf):
@@ -556,6 +557,8 @@ return acl_get_perm_np(permset_d, perm);
         else:
             print "--enable-iprint=yes but cups support not sufficient"
             sys.exit(1)
+    if Options.options.with_syslog:
+        conf.DEFINE('WITH_SYSLOG', '1')
 
     # Check for LDAP
     if Options.options.with_ldap: