diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-10-02 00:25:20 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-10-02 00:25:20 +0000 |
commit | f1d37a9997ef8b00d53267ddfd0f5d7975017085 (patch) | |
tree | 9456d7df97201ddf4729e06c133d47b037235095 /configure.in | |
parent | eb9f280ca78e9b8b28c88911ed45e8e59a04b997 (diff) | |
download | postgresql-f1d37a9997ef8b00d53267ddfd0f5d7975017085.tar.gz |
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.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in index c4c0d8f4ba..c6dcf9fce0 100644 --- a/configure.in +++ b/configure.in @@ -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 |