mingw toolchain used to build "Thrift Compiler for Windows"
does not support libcrypto, so we just check if we building the cpp library
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1167013 13f79535-47bb-0310-9956-
ffa450edef68
/test/rb/gen-*
/test/rb/Makefile
/test/rb/Makefile.in
+/thrift.exe
/ylwrap
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,
)],
[AC_MSG_ERROR(["Error: libcrypto required."])]
)
+fi
AC_TYPE_INT16_T
AC_TYPE_INT32_T