mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +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:
27
configure
vendored
27
configure
vendored
@ -14104,6 +14104,33 @@ done
|
||||
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
for ac_header in gssapi/gssapi_ext.h
|
||||
do :
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
|
||||
if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes; then :
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_GSSAPI_GSSAPI_EXT_H 1
|
||||
_ACEOF
|
||||
|
||||
else
|
||||
for ac_header in gssapi_ext.h
|
||||
do :
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "gssapi_ext.h" "ac_cv_header_gssapi_ext_h" "$ac_includes_default"
|
||||
if test "x$ac_cv_header_gssapi_ext_h" = xyes; then :
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_GSSAPI_EXT_H 1
|
||||
_ACEOF
|
||||
|
||||
else
|
||||
as_fn_error $? "gssapi_ext.h header file is required for GSSAPI" "$LINENO" 5
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
fi
|
||||
|
Reference in New Issue
Block a user