2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[3119] Added a comment regarding autoconf macros used.

As per review added a comment about the use of $ac_header_preproc.
This commit is contained in:
Kean Johnston
2013-11-07 08:38:42 +02:00
parent 43c7225635
commit 61f52a04ef

View File

@@ -754,6 +754,12 @@ CPPFLAGS_SAVED=$CPPFLAGS
CPPFLAGS="$BOTAN_INCLUDES $CPPFLAGS"
LIBS_SAVED="$LIBS"
LIBS="$LIBS $BOTAN_LIBS"
dnl 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
dnl failure handler we can detect the difference between a header no existing
dnl (or not even passing the pre-processor phase) and a header file resulting
dnl in compilation failures.
AC_CHECK_HEADERS([botan/botan.h],,[
if test "x$ac_header_preproc" = "xyes"; then
AC_MSG_ERROR([