Detect presence of SSL_get_current_compression

Magnus Hagander <magnus@hagander.net>

Commit: c9e1ad7faf75aeda633e27ba6c042dabe4aa353d
Author: Magnus Hagander <magnus@hagander.net>
Date: 2014-07-15T16:07:03Z
Releases: 9.5.0
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.

Files

PathChange+/−
configure modified +11 −0
configure.in modified +1 −0
src/include/pg_config.h.in modified +3 −0
src/include/pg_config.h.win32 modified +3 −0
src/include/port.h modified +4 −0