From: Andrei Pavel Date: Thu, 12 Nov 2020 10:18:02 +0000 (+0200) Subject: [#1492] explicit messages for missing headers X-Git-Tag: Kea-1.9.2~156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6709260cdaa35a232de89b2397cf3ee228dad70d;p=thirdparty%2Fkea.git [#1492] explicit messages for missing headers --- diff --git a/configure.ac b/configure.ac index b8edb40284..96c9bc187c 100755 --- a/configure.ac +++ b/configure.ac @@ -1003,7 +1003,8 @@ CPPFLAGS="$LOG4CPLUS_INCLUDES $CPPFLAGS" 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 ], diff --git a/m4macros/ax_boost_for_kea.m4 b/m4macros/ax_boost_for_kea.m4 index e4f3496dff..13252bfcc2 100644 --- a/m4macros/ax_boost_for_kea.m4 +++ b/m4macros/ax_boost_for_kea.m4 @@ -75,7 +75,7 @@ if test "${boost_include_path}" ; then 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.)) diff --git a/m4macros/ax_cpp11.m4 b/m4macros/ax_cpp11.m4 index 6176728016..8efa2e1eed 100644 --- a/m4macros/ax_cpp11.m4 +++ b/m4macros/ax_cpp11.m4 @@ -199,7 +199,7 @@ for retry in "none" "--std=c++11" "--std=c++0x" "--std=c++1x" "fail"; do [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]) continue]) - + AC_MSG_CHECKING(condition variable support) feature="condition variable" AC_COMPILE_IFELSE( @@ -212,7 +212,7 @@ for retry in "none" "--std=c++11" "--std=c++0x" "--std=c++1x" "fail"; do [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]) continue]) - + AC_MSG_CHECKING(atomic support) feature="atomic" AC_COMPILE_IFELSE( diff --git a/m4macros/ax_crypto.m4 b/m4macros/ax_crypto.m4 index 34cd265110..4733164583 100644 --- a/m4macros/ax_crypto.m4 +++ b/m4macros/ax_crypto.m4 @@ -169,7 +169,7 @@ EOF # # 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= @@ -213,7 +213,7 @@ the version of Botan that comes with your distribution. If you have updated 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 @@ -231,7 +231,7 @@ then [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=""