source: vendor/current/lib/crypto/wscript_configure

Last change on this file was 988, checked in by Silvan Scherrer, 9 years ago

Samba Server: update vendor to version 4.4.3

File size: 621 bytes
Line 
1if 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)
7conf.CHECK_FUNCS_IN('CC_MD5_Init', '', headers='CommonCrypto/CommonDigest.h',
8 checklibc=True)
9
10if conf.CHECK_FUNCS('SHA1_Update'):
11 conf.DEFINE('SHA1_RENAME_NEEDED', 1)
12if conf.CHECK_FUNCS('SHA256_Update'):
13 conf.DEFINE('SHA256_RENAME_NEEDED', 1)
14if conf.CHECK_FUNCS('SHA512_Update'):
15 conf.DEFINE('SHA512_RENAME_NEEDED', 1)
Note: See TracBrowser for help on using the repository browser.