Fix AC_CHECK_DECLS usage in openssl.m4.
authorEtienne Dechamps <etienne@edechamps.fr>
Sun, 7 Jan 2018 14:26:00 +0000 (14:26 +0000)
committerEtienne Dechamps <etienne@edechamps.fr>
Sun, 7 Jan 2018 14:26:00 +0000 (14:26 +0000)
commitddf798a0ef7df21d682d2f6763d5417400c987ba
tree04a4abe5f4f67f42581a06db777f21fd60b86c7b
parent04543a57e73e29c3e2a1968fd330f03c94dd6059
Fix AC_CHECK_DECLS usage in openssl.m4.

See:

  https://www.gnu.org/software/autoconf/manual/autoconf-2.62/html_node/Generic-Declarations.html

"For each of the symbols (comma-separated list)"

When building with aggressive warning settings the current code results
in the following configure test code being generated:

  #ifndef OpenSSL_add_all_algorithms EVP_aes_256_cfb
  #ifdef __cplusplus
    (void) OpenSSL_add_all_algorithms EVP_aes_256_cfb;
  #else
    (void) OpenSSL_add_all_algorithms EVP_aes_256_cfb;
  #endif
  #endif

Which is obviously wrong and makes the configure check fail.
m4/openssl.m4