git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/crypto: Detect CommonCrypto and use it if available
[samba.git]
/
lib
/
crypto
/
wscript_configure
diff --git
a/lib/crypto/wscript_configure
b/lib/crypto/wscript_configure
index 77d21e97955efa5535d9839388d6b3fed48db327..5fc00fb22cb81b3966822b68fc04ed1febad8804 100644
(file)
--- a/
lib/crypto/wscript_configure
+++ b/
lib/crypto/wscript_configure
@@
-1,2
+1,4
@@
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)