How to tell Autoconf “require symbol A or B” from LIB?
I'm trying to configure Postgres 9.5.4 for OpenSSL 1.1.0 . Configure is dying because it can't find SSL_library_init in OpenSSL 1.1.0. OpenSSL 1.1.0 provides OPENSSL_init_ssl instead of SSL_library_init . So Autoconf needs to check for either SSL_library_init or OPENSSL_init_ssl . Postgres uses the following test: AC_CHECK_LIB(ssl, SSL_library_init, [], [AC_MSG_ERROR([library 'ssl' is required for OpenSSL])]) How do I modify that [rule?] to look for either SSL_library_init or OPENSSL_init_ssl ? Naively, I changed configure.in to the following, which did not work. The best I can tell, my