1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Cope with ERR_set_mark() and ERR_pop_to_mark() not existing in older

OpenSSL libraries --- just don't call them if they're not there.  This
might possibly lead to misleading error messages, but we'll just have
to live with that.
This commit is contained in:
Tom Lane
2007-10-02 00:25:20 +00:00
parent eb9f280ca7
commit f1d37a9997
4 changed files with 114 additions and 2 deletions

View File

@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.527 2007/09/21 02:33:46 tgl Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.528 2007/10/02 00:25:20 tgl Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@ -865,6 +865,7 @@ fi
if test "$with_openssl" = yes ; then
AC_CHECK_HEADER(openssl/ssl.h, [], [AC_MSG_ERROR([header file <openssl/ssl.h> is required for OpenSSL])])
AC_CHECK_HEADER(openssl/err.h, [], [AC_MSG_ERROR([header file <openssl/err.h> is required for OpenSSL])])
AC_CHECK_FUNCS([ERR_set_mark])
fi
if test "$with_pam" = yes ; then