LIBS_SAVED="$LIBS"
LIBS="$LOG4CPLUS_LIBS $MULTITHREADING_FLAG $LIBS"
-AC_CHECK_HEADERS([log4cplus/logger.h],,AC_MSG_ERROR([Missing required header files.]))
+AC_CHECK_HEADERS([log4cplus/logger.h],,
+ AC_MSG_ERROR([Missing required header file (logger.h) from the log4cplus package]))
AC_LINK_IFELSE(
[AC_LANG_PROGRAM([#include <log4cplus/logger.h>
],
CPPFLAGS="$CPPFLAGS $BOOST_INCLUDES"
fi
AC_CHECK_HEADERS([boost/shared_ptr.hpp boost/foreach.hpp boost/interprocess/sync/interprocess_upgradable_mutex.hpp boost/date_time/posix_time/posix_time_types.hpp boost/asio.hpp boost/asio/ip/address.hpp boost/asio/signal_set.hpp boost/system/error_code.hpp boost/atomic.hpp boost/circular_buffer.hpp boost/functional/hash.hpp],,
- AC_MSG_ERROR([Missing required header files.]))
+ AC_MSG_ERROR([Missing required boost header files]))
AC_CHECK_HEADERS(boost/asio/coroutine.hpp,,AC_MSG_RESULT(not found, using built-in header.))
[AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([no])
continue])
-
+
AC_MSG_CHECKING(condition variable support)
feature="condition variable"
AC_COMPILE_IFELSE(
[AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([no])
continue])
-
+
AC_MSG_CHECKING(atomic support)
feature="atomic"
AC_COMPILE_IFELSE(
# # check -R, "-Wl,-R" or -rpath
AX_ISC_RPATH
-
+
# See crypto_rpath for some info on why we do this
if test "x$ISC_RPATH_FLAG" != "x"; then
CRYPTO_RPATH=
your C++ compiler we highly recommend that you use support libraries such as
Boost and Botan that were compiled with the same compiler version.])
else
- AC_MSG_RESULT([Missing required header files.])
+ AC_MSG_RESULT([Missing required libcrypto header files])
fi]
)
CPPFLAGS=$CPPFLAGS_SAVED
[using namespace Botan;
HashFunction *h = HashFunction::create("MD5")
.release();
- ])],
+ ])],
[AC_MSG_RESULT([checking for Botan library... yes])],
[AC_MSG_RESULT([checking for Botan library... no])
CRYPTO_INCLUDES=""