1 --- postgresql-15.2/configure.ac 2023-03-07 23:36:40.389089270 +0100
2 +++ postgresql-15.2/configure.ac 2023-03-07 23:36:49.325199415 +0100
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"