Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
BIND
Commits
f53fc454
Commit
f53fc454
authored
Nov 01, 2016
by
Mark Andrews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check for LIBRESSL_VERSION_NUMBER
parent
5480a74b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
configure
configure
+5
-5
configure.in
configure.in
+5
-5
No files found.
configure
View file @
f53fc454
...
...
@@ -15956,7 +15956,7 @@ $as_echo_n "checking whether linking with OpenSSL requires -ldl... " >&6; }
/* end confdefs.h. */
#include <openssl/opensslv.h>
#if OPENSSL_VERSION_NUMBER >= 0x10100004L
#if
!defined(LIBRESSL_VERSION_NUMBER) && (
OPENSSL_VERSION_NUMBER >= 0x10100004L
)
#include <openssl/crypto.h>
#else
#include <openssl/err.h>
...
...
@@ -15967,7 +15967,7 @@ int
main ()
{
#if OPENSSL_VERSION_NUMBER >= 0x10100004L
#if
!defined(LIBRESSL_VERSION_NUMBER) && (
OPENSSL_VERSION_NUMBER >= 0x10100004L
)
OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_ALL_BUILTIN, NULL);
#else
DSO_METHOD_dlfcn();
...
...
@@ -15985,7 +15985,7 @@ else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#if OPENSSL_VERSION_NUMBER >= 0x10100004L
#if
!defined(LIBRESSL_VERSION_NUMBER) && (
OPENSSL_VERSION_NUMBER >= 0x10100004L
)
#include <openssl/crypto.h>
#else
#include <openssl/err.h>
...
...
@@ -15996,7 +15996,7 @@ int
main ()
{
#if OPENSSL_VERSION_NUMBER >= 0x10100004L
#if
!defined(LIBRESSL_VERSION_NUMBER) && (
OPENSSL_VERSION_NUMBER >= 0x10100004L
)
OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_ALL_BUILTIN, NULL);
#else
DSO_METHOD_dlfcn();
...
...
@@ -16193,7 +16193,7 @@ else
#include <openssl/conf.h>
#include <openssl/engine.h>
int main() {
#if (OPENSSL_VERSION_NUMBER >= 0x10000000L)
#if
!defined(LIBRESSL_VERSION_NUMBER) &&
(OPENSSL_VERSION_NUMBER >= 0x10000000L)
ENGINE *e;
EC_KEY *ek;
...
...
configure.in
View file @
f53fc454
...
...
@@ -1616,7 +1616,7 @@ shared library configuration (e.g., LD_LIBRARY_PATH).)],
AC_MSG_CHECKING(whether linking with OpenSSL requires -ldl)
AC_TRY_LINK([
#include <openssl/opensslv.h>
#if OPENSSL_VERSION_NUMBER >= 0x10100004L
#if
!defined(LIBRESSL_VERSION_NUMBER) && (
OPENSSL_VERSION_NUMBER >= 0x10100004L
)
#include <openssl/crypto.h>
#else
#include <openssl/err.h>
...
...
@@ -1624,7 +1624,7 @@ shared library configuration (e.g., LD_LIBRARY_PATH).)],
#endif
],
[
#if OPENSSL_VERSION_NUMBER >= 0x10100004L
#if
!defined(LIBRESSL_VERSION_NUMBER) && (
OPENSSL_VERSION_NUMBER >= 0x10100004L
)
OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_ALL_BUILTIN, NULL);
#else
DSO_METHOD_dlfcn();
...
...
@@ -1633,7 +1633,7 @@ DSO_METHOD_dlfcn();
[AC_MSG_RESULT(no)],
[LIBS="$LIBS -ldl"
AC_TRY_LINK([
#if OPENSSL_VERSION_NUMBER >= 0x10100004L
#if
!defined(LIBRESSL_VERSION_NUMBER) && (
OPENSSL_VERSION_NUMBER >= 0x10100004L
)
#include <openssl/crypto.h>
#else
#include <openssl/err.h>
...
...
@@ -1641,7 +1641,7 @@ DSO_METHOD_dlfcn();
#endif
],
[
#if OPENSSL_VERSION_NUMBER >= 0x10100004L
#if
!defined(LIBRESSL_VERSION_NUMBER) && (
OPENSSL_VERSION_NUMBER >= 0x10100004L
)
OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_ALL_BUILTIN, NULL);
#else
DSO_METHOD_dlfcn();
...
...
@@ -1769,7 +1769,7 @@ int main() {
#include <openssl/conf.h>
#include <openssl/engine.h>
int main() {
#if (OPENSSL_VERSION_NUMBER >= 0x10000000L)
#if
!defined(LIBRESSL_VERSION_NUMBER) &&
(OPENSSL_VERSION_NUMBER >= 0x10000000L)
ENGINE *e;
EC_KEY *ek;
...
...
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