From: Roger Meier Date: Wed, 23 Feb 2011 20:27:54 +0000 (+0000) Subject: THRIFT-1071 configure.ac checks for openssl X-Git-Tag: 0.7.0~172 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=9d9c4b9039918d06cb64e5fbabf4718445120ab3;p=common%2Fthrift.git THRIFT-1071 configure.ac checks for openssl git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1073930 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/configure.ac b/configure.ac index 8cad0a1d..49843ba6 100644 --- a/configure.ac +++ b/configure.ac @@ -301,6 +301,9 @@ AC_CHECK_HEADERS([sys/time.h]) AC_CHECK_HEADERS([unistd.h]) AC_CHECK_HEADERS([libintl.h]) AC_CHECK_HEADERS([malloc.h]) +AC_CHECK_HEADERS([openssl/ssl.h]) +AC_CHECK_HEADERS([openssl/rand.h]) +AC_CHECK_HEADERS([openssl/x509v3.h]) AC_CHECK_LIB(pthread, pthread_create) dnl NOTE(dreiss): I haven't been able to find any really solid docs @@ -310,6 +313,7 @@ dnl of the POSIX Real-Time Extensions. This seems necessary on Linux, 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) +AC_CHECK_LIB(ssl, SSL_ctrl) AC_TYPE_INT16_T AC_TYPE_INT32_T