summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-04 17:42:10 +0100
committerGünther Deschner <gd@samba.org>2011-02-07 10:50:39 +0100
commit81a3f7a5207d8e97e324578e7385303e9b7e8b3d (patch)
tree7109458db0b5c714e03c271c922e05ef1113d8d6 /source3
parentf1d51aa6f24fd30e719c661f7790e5ecc502cb2d (diff)
downloadsamba-81a3f7a5207d8e97e324578e7385303e9b7e8b3d.tar.gz
samba-81a3f7a5207d8e97e324578e7385303e9b7e8b3d.tar.bz2
samba-81a3f7a5207d8e97e324578e7385303e9b7e8b3d.zip
s3-waf: add --with-syslog option.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Feb 7 10:50:39 CET 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index ce8ee63bc6..af54550712 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -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: