diff options
author | Nobuaki Sukegawa <nsuke@apache.org> | 2016-01-19 00:48:46 +0900 |
---|---|---|
committer | Nobuaki Sukegawa <nsuke@apache.org> | 2016-01-24 00:13:44 +0900 |
commit | a837085ecea66e4dcbd96ef906fea3a5273b91ca (patch) | |
tree | a2354bff41563ddc615cd9e38786e33ab68ccb49 /configure.ac | |
parent | 607697054d94af8e7a15e14dc90297228bd7d2f3 (diff) | |
download | thrift-a837085ecea66e4dcbd96ef906fea3a5273b91ca.tar.gz |
THRIFT-3555 'configure' script does not honor --with-openssl=<path> for libcrypto for BN_init
Client: Build
Patch: Nobuaki Sukegawa
This closes #805
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/configure.ac b/configure.ac index 92dc58ca7..cca432cc7 100755 --- a/configure.ac +++ b/configure.ac @@ -571,21 +571,6 @@ dnl and we haven't yet found a system where this is a problem. AC_CHECK_LIB(rt, clock_gettime) AC_CHECK_LIB(socket, setsockopt) -if test "$have_cpp" = "yes" ; then -# mingw toolchain used to build "Thrift Compiler for Windows" -# does not support libcrypto, so we just check if we building the cpp library -AC_CHECK_LIB(crypto, - BN_init, - [AC_CHECK_LIB(ssl, - SSL_ctrl, - [LIBS="-lssl -lcrypto $LIBS"], - [AC_MSG_ERROR(["Error: libssl required"])], - -lcrypto - )], - [AC_MSG_ERROR(["Error: libcrypto required."])] -) -fi - AC_TYPE_INT16_T AC_TYPE_INT32_T AC_TYPE_INT64_T |