patch-configure_ac 1.1 KB

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