BIND 10 master, updated. ec1ad752576f7f3541b1b57f906256c6a5ae0dc6 [master] check for botan 1.8 or higher during configure

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Apr 28 13:05:42 UTC 2011


The branch, master has been updated
       via  ec1ad752576f7f3541b1b57f906256c6a5ae0dc6 (commit)
      from  0310b8b77e6adb8671d1f9ebfe826e394e95f53f (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 ec1ad752576f7f3541b1b57f906256c6a5ae0dc6
Author: Jelte Jansen <jelte at isc.org>
Date:   Thu Apr 28 13:04:44 2011 +0000

    [master] check for botan 1.8 or higher during configure

-----------------------------------------------------------------------

Summary of changes:
 configure.ac |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

-----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index a539f17..090d3fb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -397,13 +397,16 @@ if test "${botan_path}" ; then
 fi
 AC_CHECK_HEADERS([botan/botan.h],,AC_MSG_ERROR([Missing required header files.]))
 AC_LINK_IFELSE(
-        [AC_LANG_PROGRAM([#include <botan/botan.h>],
+        [AC_LANG_PROGRAM([#include <botan/botan.h>
+                          #include <botan/hash.h>
+                         ],
                          [using namespace Botan;
                           LibraryInitializer::initialize();
+                          HashFunction *h = get_hash("MD5");
                          ])],
         [AC_MSG_RESULT([checking for Botan library... yes])],
         [AC_MSG_RESULT([checking for Botan library... no])
-         AC_MSG_ERROR([Missing Botan library])]
+         AC_MSG_ERROR([Needs Botan library 1.8 or higher])]
 )
 
 #




More information about the bind10-changes mailing list