BIND 10 trac3119, updated. 61f52a04ef4df1c8ba17ebf75baaa25e88b90342 [3119] Added a comment regarding autoconf macros used.
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Nov 7 06:40:03 UTC 2013
The branch, trac3119 has been updated
via 61f52a04ef4df1c8ba17ebf75baaa25e88b90342 (commit)
from 43c722563552989ee5f7adfe99b0ba75bb56bb87 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 61f52a04ef4df1c8ba17ebf75baaa25e88b90342
Author: Kean Johnston <kean at isc.org>
Date: Thu Nov 7 08:38:42 2013 +0200
[3119] Added a comment regarding autoconf macros used.
As per review added a comment about the use of $ac_header_preproc.
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 6 ++++++
1 file changed, 6 insertions(+)
-----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 4438cbb..19be1fd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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([
More information about the bind10-changes
mailing list