Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3787797

Browse files
committed
Support for finding gssapi functions in the library "gss", as required
by Solaris 10 and possibly others. Stefan Kaltenbrunner
1 parent 2789b72 commit 3787797

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6824,7 +6824,7 @@ fi
68246824
rm -f conftest.err conftest.$ac_objext \
68256825
conftest$ac_exeext conftest.$ac_ext
68266826
if test "$ac_cv_search_gss_init_sec_context" = no; then
6827-
for ac_lib in gssapi_krb5 'gssapi -lkrb5 -lcrypto'; do
6827+
for ac_lib in gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'; do
68286828
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
68296829
cat >conftest.$ac_ext <<_ACEOF
68306830
/* confdefs.h. */

configure.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $PostgreSQL: pgsql/configure.in,v 1.520 2007/07/12 14:36:52 mha Exp $
2+
dnl $PostgreSQL: pgsql/configure.in,v 1.521 2007/07/14 11:13:28 mha Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -767,7 +767,7 @@ fi
767767

768768
if test "$with_gssapi" = yes ; then
769769
if test "$PORTNAME" != "win32"; then
770-
AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 'gssapi -lkrb5 -lcrypto'], [],
770+
AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'], [],
771771
[AC_MSG_ERROR([could not find function 'gss_init_sec_context' required for GSSAPI])])
772772
else
773773
LIBS="$LIBS -lgssapi32"

0 commit comments

Comments
 (0)