Revert "nfs4acl: Fix owner mapping with ID_TYPE_BOTH"
[Samba.git] / lib / crypto / wscript_configure
blob328ad1d2a560bf8482976b775e95c3f8125e271b
1 #!/usr/bin/env python
2 from waflib import Options
3 from waflib import Errors, Logs
5 if conf.CHECK_FUNCS('SHA1_Update'):
6 conf.DEFINE('SHA1_RENAME_NEEDED', 1)
9 # --aes-accel=XXX selects accelerated AES crypto library to use, if any.
10 # Default is none.
12 if Options.options.accel_aes.lower() == "intelaesni":
13 Logs.info("Attempting to compile with runtime-switchable x86_64 Intel AES instructions. WARNING - this is temporary.")
14 elif Options.options.accel_aes.lower() != "none":
15 raise Errors.WafError('--aes-accel=%s is not a valid option. Valid options are [none|intelaesni]' % Options.options.accel_aes)