diff options
Diffstat (limited to 'package/freeradius-server/patches/patch-configure_ac')
-rw-r--r-- | package/freeradius-server/patches/patch-configure_ac | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/package/freeradius-server/patches/patch-configure_ac b/package/freeradius-server/patches/patch-configure_ac new file mode 100644 index 000000000..c3901ee32 --- /dev/null +++ b/package/freeradius-server/patches/patch-configure_ac @@ -0,0 +1,38 @@ +--- freeradius-server-3.0.2.orig/configure.ac 2014-03-21 13:27:25.000000000 +0100 ++++ freeradius-server-3.0.2/configure.ac 2014-04-24 13:10:35.000000000 +0200 +@@ -932,35 +932,6 @@ if test "x$WITH_OPENSSL" = xyes; then + OPENSSL_INCLUDE="-DOPENSSL_NO_KRB5" + fi + +- dnl # +- dnl # Now check that the header versions match the library +- dnl # +- AC_MSG_CHECKING([OpenSSL library and header version consistency]) +- AC_RUN_IFELSE( +- [AC_LANG_PROGRAM( +- [[ +- #include <stdio.h> +- #include <openssl/opensslv.h> +- #include <openssl/crypto.h> +- ]], +- [[ +- if (SSLeay() == OPENSSL_VERSION_NUMBER) { +- return 0; +- } else { +- printf("library: %lx header: %lx... ", (unsigned long) SSLeay(), (unsigned long) OPENSSL_VERSION_NUMBER); +- return 1; +- } +- ]] +- )], +- [ +- AC_MSG_RESULT(yes) +- ], +- [ +- AC_MSG_RESULT(no) +- AC_MSG_FAILURE([OpenSSL library version does not match header version]) +- ] +- ) +- + if test "x$OPENSSL_LIBS" = x; then + LIBS=$old_LIBS + LDFLAGS="$old_LDFLAGS" |