2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-05 00:15:17 +00:00

[3119] Minor cosmetic cleanups as per review

This commit is contained in:
Kean Johnston
2013-11-14 10:02:35 +02:00
parent 61f52a04ef
commit ad5750db8c

View File

@@ -755,11 +755,11 @@ CPPFLAGS="$BOTAN_INCLUDES $CPPFLAGS"
LIBS_SAVED="$LIBS" LIBS_SAVED="$LIBS"
LIBS="$LIBS $BOTAN_LIBS" LIBS="$LIBS $BOTAN_LIBS"
dnl ac_header_preproc is an autoconf symbol (undocumented but stable) that # ac_header_preproc is an autoconf symbol (undocumented but stable) that
dnl is set if the pre-processor phase passes. Thus by adding a custom # is set if the pre-processor phase passes. Thus by adding a custom
dnl failure handler we can detect the difference between a header no existing # failure handler we can detect the difference between a header not existing
dnl (or not even passing the pre-processor phase) and a header file resulting # (or not even passing the pre-processor phase) and a header file resulting
dnl in compilation failures. # in compilation failures.
AC_CHECK_HEADERS([botan/botan.h],,[ AC_CHECK_HEADERS([botan/botan.h],,[
if test "x$ac_header_preproc" = "xyes"; then if test "x$ac_header_preproc" = "xyes"; then
AC_MSG_ERROR([ AC_MSG_ERROR([
@@ -770,7 +770,8 @@ your C++ compiler we highly recommend that you use support libraries such as
Boost and Botan that were compiled with the same compiler version.]) Boost and Botan that were compiled with the same compiler version.])
else else
AC_MSG_ERROR([Missing required header files.]) AC_MSG_ERROR([Missing required header files.])
fi]) fi]
)
AC_LINK_IFELSE( AC_LINK_IFELSE(
[AC_LANG_PROGRAM([#include <botan/botan.h> [AC_LANG_PROGRAM([#include <botan/botan.h>
#include <botan/hash.h> #include <botan/hash.h>