summaryrefslogtreecommitdiff
path: root/lib/crypto/wscript_configure
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/wscript_configure')
-rw-r--r--lib/crypto/wscript_configure8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/crypto/wscript_configure b/lib/crypto/wscript_configure
index 5fc00fb22c..21ec566b6b 100644
--- a/lib/crypto/wscript_configure
+++ b/lib/crypto/wscript_configure
@@ -1,4 +1,8 @@
-conf.CHECK_FUNCS_IN('MD5Init', 'bsd', headers='bsd/md5.h',
- checklibc=True)
+if not conf.CHECK_FUNCS_IN('MD5Init', 'bsd', headers='bsd/md5.h',
+ checklibc=True):
+ conf.CHECK_FUNCS_IN('MD5Init', 'md5', headers='sys/md5.h',
+ checklibc=True)
+ conf.CHECK_FUNCS_IN('MD5Init', 'md', headers='sys/md5.h',
+ checklibc=True)
conf.CHECK_FUNCS_IN('CC_MD5_Init', '', headers='CommonCrypto/CommonDigest.h',
checklibc=True)