]> granicus.if.org Git - postgresql/commit
Detect presence of SSL_get_current_compression
authorMagnus Hagander <magnus@hagander.net>
Tue, 15 Jul 2014 16:04:43 +0000 (18:04 +0200)
committerMagnus Hagander <magnus@hagander.net>
Tue, 15 Jul 2014 16:07:03 +0000 (18:07 +0200)
commitc9e1ad7faf75aeda633e27ba6c042dabe4aa353d
tree1354e41aa8cc528de9411ba09b7654e0741662a6
parentf9ddcf75430467493aa6c2b07a45776e4ae8b416
Detect presence of SSL_get_current_compression

Apparently we still build against OpenSSL so old that it doesn't
have this function, so add an autoconf check for it to make the
buildfarm happy. If the function doesn't exist, always return
that compression is disabled, since presumably the actual
compression functionality is always missing.

For now, hardcode the function as present on MSVC, since we should
hopefully be well beyond those old versions on that platform.
configure
configure.in
src/include/pg_config.h.in
src/include/pg_config.h.win32
src/include/port.h