]> 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:19 +0000 (18:07 +0200)
commit5e4c9b37312e7d9dcb88e1e0a1fc279c780dd89e
treeedf627c2b756536c20db6d38b052403bca6569e3
parent77b41010dbb159b77b35aef02b517ce1a130f3b6
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