mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Explicitly require MIT Kerberos for GSSAPI
WHen building with GSSAPI support, explicitly require MIT Kerberos and check for gssapi_ext.h in configure.ac and meson.build. Also add documentation explicitly stating that we now require MIT Kerberos when building with GSSAPI support. Reveiwed by: Johnathan Katz Discussion: https://postgr.es/m/abcc73d0-acf7-6896-e0dc-f5bc12a61bb1@postgresql.org
This commit is contained in:
10
meson.build
10
meson.build
@ -623,6 +623,16 @@ if not gssapiopt.disabled()
|
||||
have_gssapi = false
|
||||
endif
|
||||
|
||||
if not have_gssapi
|
||||
elif cc.check_header('gssapi/gssapi_ext.h', dependencies: gssapi, required: false,
|
||||
args: test_c_args, include_directories: postgres_inc)
|
||||
cdata.set('HAVE_GSSAPI_GSSAPI_EXT_H', 1)
|
||||
elif cc.check_header('gssapi_ext.h', args: test_c_args, dependencies: gssapi, required: gssapiopt)
|
||||
cdata.set('HAVE_GSSAPI_EXT_H', 1)
|
||||
else
|
||||
have_gssapi = false
|
||||
endif
|
||||
|
||||
if not have_gssapi
|
||||
elif cc.has_function('gss_init_sec_context', dependencies: gssapi,
|
||||
args: test_c_args, include_directories: postgres_inc)
|
||||
|
Reference in New Issue
Block a user