mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
03cbef2bef
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue May 21 01:18:08 UTC 2019 on sn-devel-184
16 lines
619 B
Python
16 lines
619 B
Python
#!/usr/bin/env python
|
|
from waflib import Options
|
|
from waflib import Errors, Logs
|
|
|
|
if conf.CHECK_FUNCS('SHA1_Update'):
|
|
conf.DEFINE('SHA1_RENAME_NEEDED', 1)
|
|
|
|
#
|
|
# --aes-accel=XXX selects accelerated AES crypto library to use, if any.
|
|
# Default is none.
|
|
#
|
|
if Options.options.accel_aes.lower() == "intelaesni":
|
|
Logs.info("Attempting to compile with runtime-switchable x86_64 Intel AES instructions. WARNING - this is temporary.")
|
|
elif Options.options.accel_aes.lower() != "none":
|
|
raise Errors.WafError('--aes-accel=%s is not a valid option. Valid options are [none|intelaesni]' % Options.options.accel_aes)
|