auth/spnego: move SERVER gensec_spnego_create_negTokenInit() handling to the top
[Samba.git] / lib / crypto / wscript_configure
blob130acec4381f192b0863e4c5af31efe8cbaedb7e
1 if not conf.CHECK_FUNCS_IN('MD5Init', 'bsd', headers='bsd/md5.h',
2     checklibc=True):
3     conf.CHECK_FUNCS_IN('MD5Init', 'md5', headers='sys/md5.h',
4                         checklibc=True)
5     conf.CHECK_FUNCS_IN('MD5Init', 'md', headers='sys/md5.h',
6                         checklibc=True)
7 conf.CHECK_FUNCS_IN('CC_MD5_Init', '', headers='CommonCrypto/CommonDigest.h',
8     checklibc=True)
10 if conf.CHECK_FUNCS('SHA1_Update'):
11         conf.DEFINE('SHA1_RENAME_NEEDED', 1)
12 if conf.CHECK_FUNCS('SHA256_Update'):
13         conf.DEFINE('SHA256_RENAME_NEEDED', 1)
14 if conf.CHECK_FUNCS('SHA512_Update'):
15         conf.DEFINE('SHA512_RENAME_NEEDED', 1)