Commit ec1ad752 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[master] check for botan 1.8 or higher during configure

parent 0310b8b7
......@@ -397,13 +397,16 @@ if test "${botan_path}" ; then
AC_CHECK_HEADERS([botan/botan.h],,AC_MSG_ERROR([Missing required header files.]))
[AC_LANG_PROGRAM([#include <botan/botan.h>],
[AC_LANG_PROGRAM([#include <botan/botan.h>
#include <botan/hash.h>
[using namespace Botan;
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])]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment