Merge pull request #840 from cjkoenig/update_liburcu
[feed/packages.git] / net / freeradius2 / patches / 010-disbale-openssl-check.patch
1 --- a/configure.in
2 +++ b/configure.in
3 @@ -796,35 +796,6 @@ if test "x$WITH_OPENSSL" = xyes; then
4 OPENSSL_INCLUDE="-DOPENSSL_NO_KRB5"
5 fi
6
7 - dnl #
8 - dnl # Now check that the header versions match the library
9 - dnl #
10 - AC_MSG_CHECKING([OpenSSL library and header version consistency])
11 - AC_RUN_IFELSE(
12 - [AC_LANG_PROGRAM(
13 - [[
14 - #include <stdio.h>
15 - #include <openssl/opensslv.h>
16 - #include <openssl/crypto.h>
17 - ]],
18 - [[
19 - if (SSLeay() == OPENSSL_VERSION_NUMBER) {
20 - return 0;
21 - } else {
22 - printf("library: %lx header: %lx... ", (unsigned long) SSLeay(), (unsigned long) OPENSSL_VERSION_NUMBER);
23 - return 1;
24 - }
25 - ]]
26 - )],
27 - [
28 - AC_MSG_RESULT(yes)
29 - ],
30 - [
31 - AC_MSG_RESULT(no)
32 - AC_MSG_FAILURE([OpenSSL library version does not match header version])
33 - ]
34 - )
35 -
36 if test "x$OPENSSL_LIBS" = x; then
37 LIBS=$old_LIBS
38 LDFLAGS="$old_LDFLAGS"