diff options
author | Stephen Frost <sfrost@snowman.net> | 2023-04-17 09:51:04 -0400 |
---|---|---|
committer | Stephen Frost <sfrost@snowman.net> | 2023-04-17 09:51:04 -0400 |
commit | 1c52f9c042fb939ed55ff572daee71036720db57 (patch) | |
tree | 15ff091ec33940500088f2313c280dae9b70d161 /configure.ac | |
parent | 2434d60a2ae977a460eda401fd9f99cf619f4743 (diff) | |
download | postgresql-1c52f9c042fb939ed55ff572daee71036720db57.tar.gz |
Update Kerberos/GSSAPI configure/meson check
Instead of checking for the much older gss_init_sec_context, check for
gss_store_cred_into which was added in MIT Kerberos 1.11 (circa 2012).
Discussion: https://postgr.es/m/2313469.1681695223%40sss.pgh.pa.us
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index c53a9c788e..1362f57a27 100644 --- a/configure.ac +++ b/configure.ac @@ -1340,8 +1340,8 @@ fi if test "$with_gssapi" = yes ; then if test "$PORTNAME" != "win32"; then - AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'], [], - [AC_MSG_ERROR([could not find function 'gss_init_sec_context' required for GSSAPI])]) + AC_SEARCH_LIBS(gss_store_cred_into, [gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'], [], + [AC_MSG_ERROR([could not find function 'gss_store_cred_into' required for GSSAPI])]) else LIBS="$LIBS -lgssapi32" fi |