Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
ec1ad752
Commit
ec1ad752
authored
Apr 28, 2011
by
Jelte Jansen
Browse files
[master] check for botan 1.8 or higher during configure
parent
0310b8b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
ec1ad752
...
...
@@ -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
])]
)
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment