1 --- postgresql-9.0.0/configure.in.orig 2010-10-03 11:14:32.231741882 +0200
2 +++ postgresql-9.0.0/configure.in 2010-10-03 11:46:29.767741043 +0200
5 if test "$with_gssapi" = yes ; then
6 if test "$PORTNAME" != "win32"; then
7 - AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'], [],
8 + AC_SEARCH_LIBS(gss_init_sec_context, [gssapi 'gssapi -lkrb5 -lcrypto' gssapi_krb5 gss], [],
9 [AC_MSG_ERROR([could not find function 'gss_init_sec_context' required for GSSAPI])])
11 LIBS="$LIBS -lgssapi32"
14 if test "$with_krb5" = yes ; then
15 if test "$PORTNAME" != "win32"; then
16 - AC_SEARCH_LIBS(com_err, [krb5 'krb5 -lcrypto -ldes -lasn1 -lroken' com_err 'com_err -lssl -lcrypto'], [],
17 + AC_SEARCH_LIBS(com_err, [com_err 'com_err -lssl -lcrypto' krb5 'krb5 -lcrypto -ldes -lasn1 -lroken'], [],
18 [AC_MSG_ERROR([could not find function 'com_err' required for Kerberos 5])])
19 AC_SEARCH_LIBS(krb5_sendauth, [krb5 'krb5 -lcrypto -ldes -lasn1 -lroken'], [],
20 [AC_MSG_ERROR([could not find function 'krb5_sendauth' required for Kerberos 5])])