lib/crypto: Detect CommonCrypto and use it if available
[samba.git] / lib / crypto / wscript_configure
index 77d21e97955efa5535d9839388d6b3fed48db327..5fc00fb22cb81b3966822b68fc04ed1febad8804 100644 (file)
@@ -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)