mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
lib/audit_logging: update to waf 2.0
Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
f495f64e2e
commit
4c7c10b2c5
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
from waflib import Logs, Options, Utils
|
||||
from waflib import Logs, Options, Errors
|
||||
import samba3
|
||||
|
||||
def options(opt):
|
||||
@ -28,7 +28,7 @@ def configure(conf):
|
||||
"JSON support is required for the JSON "
|
||||
"formatted audit log feature and the AD DC")
|
||||
if not Options.options.without_ad_dc:
|
||||
raise Utils.WafError('--without-json-audit requires '
|
||||
raise Errors.WafError('--without-json-audit requires '
|
||||
'--without-ad-dc. '
|
||||
'Jansson JSON library is required for '
|
||||
'building the AD DC')
|
||||
|
Loading…
Reference in New Issue
Block a user