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