From b89c6abab6cdd871861ef5c1b276b8825914e4c0 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 24 Apr 2012 14:04:51 +0200 Subject: [PATCH] Build fixes for *NIX. --- base/Makefile.am | 2 ++ configure.ac | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/base/Makefile.am b/base/Makefile.am index c67020e51..e7a2fa9bf 100644 --- a/base/Makefile.am +++ b/base/Makefile.am @@ -45,6 +45,8 @@ libbase_la_SOURCES = \ thread.h \ timer.cpp \ timer.h \ + tlsclient.cpp \ + tlsclient.h \ unix.cpp \ unix.h \ utility.cpp \ diff --git a/configure.ac b/configure.ac index 24849cde6..d1a82858c 100644 --- a/configure.ac +++ b/configure.ac @@ -16,6 +16,10 @@ AM_SILENT_RULES([yes]) AC_PROG_CXX AX_CXX_GCC_ABI_DEMANGLE +AC_CHECK_LIB(ssl, SSL_new) +AC_CHECK_LIB(crypto, X509_NAME_oneline) +AC_CHECK_LIB(eay32, X509_NAME_oneline) + AX_CHECK_COMPILE_FLAG([-std=c++0x], [have_cxx11_support=yes]) if test "$have_cxx11_support" = "yes"; then -- 2.40.0