mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s3/wscript: fix flex detection
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
e7612710d1
commit
193fdbf181
@ -1623,7 +1623,7 @@ main() {
|
|||||||
conf.fatal("Spotlight support requested but bison missing")
|
conf.fatal("Spotlight support requested but bison missing")
|
||||||
conf.CHECK_COMMAND('%s --version | head -n1' % conf.env['BISON'], msg='Using bison version', define=None, on_target=False)
|
conf.CHECK_COMMAND('%s --version | head -n1' % conf.env['BISON'], msg='Using bison version', define=None, on_target=False)
|
||||||
Logs.info("Requested Spotlight support, checking for flex")
|
Logs.info("Requested Spotlight support, checking for flex")
|
||||||
flex.detect(conf)
|
flex.configure(conf)
|
||||||
if not conf.env['FLEX']:
|
if not conf.env['FLEX']:
|
||||||
conf.fatal("Spotlight support requested but flex missing")
|
conf.fatal("Spotlight support requested but flex missing")
|
||||||
conf.CHECK_COMMAND('%s --version' % conf.env['FLEX'], msg='Using flex version', define=None, on_target=False)
|
conf.CHECK_COMMAND('%s --version' % conf.env['FLEX'], msg='Using flex version', define=None, on_target=False)
|
||||||
|
Loading…
Reference in New Issue
Block a user