Added a better check for openssl
authorBruno Goncalves <bruno.slackware@gmail.com>
Tue, 30 Aug 2016 20:37:13 +0000 (13:37 -0700)
committerFacebook Github Bot 5 <facebook-github-bot-5-bot@fb.com>
Tue, 30 Aug 2016 20:38:34 +0000 (13:38 -0700)
commit6c5a2189557f4569b5801e3be7d4e29c523d2800
tree5c90b5fc2df0f3697ba6e6a87977b22f65d56dfd
parent8deb28b372c8a435aa2a9f0d7977332f500f9fee
Added a better check for openssl

Summary:
For some systems like my Fedora 23 is missing -lcrypto library to be together with -lssl

The following error ocurr running 'make check':
avoid undefined reference to symbol 'EVP_DigestInit_ex
Closes https://github.com/facebook/folly/pull/428

Reviewed By: yfeldblum

Differential Revision: D3787160

Pulled By: Orvid

fbshipit-source-id: 8ff69d00c9c752d0a005d2a5e8d68e65347cc43b
folly/configure.ac
folly/m4/ax_check_openssl.m4 [new file with mode: 0644]