You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
982 B

  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. - 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"