mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
b68f72c7f5
CommonCrypto/CommonDigest is available on Mac and there is function in the libc for MD5 calculation. MD5Final is a C define of CC_MD5_Final. Under some circumstance we have the symbol defined twice in samba binaries on Snow Leopard at least. By detecting CommonCrypto/CommonDigest we end up always using the system version if available.
5 lines
177 B
Plaintext
5 lines
177 B
Plaintext
conf.CHECK_FUNCS_IN('MD5Init', 'bsd', headers='bsd/md5.h',
|
|
checklibc=True)
|
|
conf.CHECK_FUNCS_IN('CC_MD5_Init', '', headers='CommonCrypto/CommonDigest.h',
|
|
checklibc=True)
|