summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMagnus Hagander2007-07-12 14:36:52 +0000
committerMagnus Hagander2007-07-12 14:36:52 +0000
commit65a513c2490983e1b95710a805e7cb71956120bc (patch)
treef782fddac637ac22439e9f0b2898a056058f3bf4 /configure.in
parent67719940585f36617a15dac16a32744a18711ede (diff)
Support GSSAPI builds where the header is <gssapi.h> and not <gssapi/gssapi.h>,
such as OpenBSD (possibly all Heimdal). Stefan Kaltenbrunner
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index c01ae3fcd7f..3fe28e477e6 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.519 2007/07/12 14:10:39 mha Exp $
+dnl $PostgreSQL: pgsql/configure.in,v 1.520 2007/07/12 14:36:52 mha Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@@ -767,8 +767,8 @@ fi
if test "$with_gssapi" = yes ; then
if test "$PORTNAME" != "win32"; then
- AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5], [],
- [AC_MSG_ERROR([could not find function 'gss_init_sec_context' required for GSSAPI])])
+ AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 'gssapi -lkrb5 -lcrypto'], [],
+ [AC_MSG_ERROR([could not find function 'gss_init_sec_context' required for GSSAPI])])
else
LIBS="$LIBS -lgssapi32"
fi
@@ -870,7 +870,8 @@ Use --without-zlib to disable zlib support.])])
fi
if test "$with_gssapi" = yes ; then
- AC_CHECK_HEADER(gssapi/gssapi.h, [], [AC_MSG_ERROR([header file <gssapi/gssapi.h> is required for GSSAPI])])
+ AC_CHECK_HEADERS(gssapi/gssapi.h, [],
+ [AC_CHECK_HEADERS(gssapi.h, [], [AC_MSG_ERROR([gssapi.h header file is required for GSSAPI])])])
fi
if test "$with_krb5" = yes ; then