]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1492] explicit messages for missing headers
authorAndrei Pavel <andrei@isc.org>
Thu, 12 Nov 2020 10:18:02 +0000 (12:18 +0200)
committerAndrei Pavel <andrei@isc.org>
Mon, 16 Nov 2020 11:22:51 +0000 (11:22 +0000)
configure.ac
m4macros/ax_boost_for_kea.m4
m4macros/ax_cpp11.m4
m4macros/ax_crypto.m4

index b8edb40284d7f954adf6718bfba108eaa0d3df0d..96c9bc187c71b60e8e5b9a057949f91e432dc81a 100755 (executable)
@@ -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 <log4cplus/logger.h>
                          ],
index e4f3496dff87fd02468af15aeb3edd6d1e6950bf..13252bfcc29666abcd3ce881b2862516a55d9c6f 100644 (file)
@@ -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.))
 
index 61767280163c3a80e9cf6cc6ada58c2127e3671b..8efa2e1eed6ba300515e5c972ae5d0b5cd129cea 100644 (file)
@@ -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(
index 34cd26511088e68fa670334a2a249054a71fa95d..4733164583c0bdcea327a988fe67f22b49b8cada 100644 (file)
@@ -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=""