Ken Hornstein <kenh(_at_)pobox(_dot_)com> writes:
Hm. It seems that the preferred function is now OPENSSL_init_ssl(), but
there is a macro which still makes the old SSL_library_init() function
work. I guess that test doesn't include that header file; that might be
a bit sneaky to fix, but I think we can do it.
The core issue is that autoconf probe macros like AC_CHECK_LIB() will only
succeed against names that are actual global linker symbols, ie functions,
not C macros. SSL_library_init() is not in that category as of 1.1.0.
You want to pick one that is an actual function in both older and newer
OpenSSL releases. Postgres went with SSL_new(); there are doubtless
others that would work.
regards, tom lane
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers