patch-configure_ac 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --- freeradius-server-3.0.2.orig/configure.ac 2014-03-21 13:27:25.000000000 +0100
  2. +++ freeradius-server-3.0.2/configure.ac 2014-04-24 13:10:35.000000000 +0200
  3. @@ -932,35 +932,6 @@ if test "x$WITH_OPENSSL" = xyes; then
  4. OPENSSL_INCLUDE="-DOPENSSL_NO_KRB5"
  5. fi
  6. - dnl #
  7. - dnl # Now check that the header versions match the library
  8. - dnl #
  9. - AC_MSG_CHECKING([OpenSSL library and header version consistency])
  10. - AC_RUN_IFELSE(
  11. - [AC_LANG_PROGRAM(
  12. - [[
  13. - #include <stdio.h>
  14. - #include <openssl/opensslv.h>
  15. - #include <openssl/crypto.h>
  16. - ]],
  17. - [[
  18. - if (SSLeay() == OPENSSL_VERSION_NUMBER) {
  19. - return 0;
  20. - } else {
  21. - printf("library: %lx header: %lx... ", (unsigned long) SSLeay(), (unsigned long) OPENSSL_VERSION_NUMBER);
  22. - return 1;
  23. - }
  24. - ]]
  25. - )],
  26. - [
  27. - AC_MSG_RESULT(yes)
  28. - ],
  29. - [
  30. - AC_MSG_RESULT(no)
  31. - AC_MSG_FAILURE([OpenSSL library version does not match header version])
  32. - ]
  33. - )
  34. -
  35. if test "x$OPENSSL_LIBS" = x; then
  36. LIBS=$old_LIBS
  37. LDFLAGS="$old_LDFLAGS"