From: Gunnar Beutner Date: Tue, 24 Apr 2012 12:04:51 +0000 (+0200) Subject: Build fixes for *NIX. X-Git-Tag: v0.0.1~591 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b89c6abab6cdd871861ef5c1b276b8825914e4c0;p=icinga2 Build fixes for *NIX. --- 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