summaryrefslogtreecommitdiff
path: root/lib/crypto/wscript_configure
blob: b7a012f6cf4db3b0d5f4204611bcf165d819f803 (plain)
1
2
3
4
5
6
7
8
9
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_TYPE('MD5_CTX', 'struct MD5Context', headers='sys/md5.h')
conf.CHECK_FUNCS_IN('CC_MD5_Init', '', headers='CommonCrypto/CommonDigest.h',
    checklibc=True)