Look for OPENSSL_init_ssl, from Tomasz Miasko.
Nicholas Marriott
7 years ago
92 | 92 | AC_MSG_ERROR("libcrypto not found") |
93 | 93 | fi |
94 | 94 | AC_SEARCH_LIBS( |
95 | SSL_library_init, | |
95 | OPENSSL_init_ssl, | |
96 | 96 | [ssl], |
97 | 97 | found_libssl=yes, |
98 | 98 | found_libssl=no |
99 | ) | |
100 | AC_SEARCH_LIBS( | |
101 | SSL_library_init, | |
102 | [ssl], | |
103 | found_libssl=yes | |
99 | 104 | ) |
100 | 105 | if test "x$found_libssl" = xno; then |
101 | 106 | AC_MSG_ERROR("libssl not found") |