Build fixes for *NIX.

This commit is contained in:
Gunnar Beutner 2012-04-24 14:04:51 +02:00
parent 21ef4836ee
commit b89c6abab6
2 changed files with 6 additions and 0 deletions

View File

@ -45,6 +45,8 @@ libbase_la_SOURCES = \
thread.h \
timer.cpp \
timer.h \
tlsclient.cpp \
tlsclient.h \
unix.cpp \
unix.h \
utility.cpp \

View File

@ -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