mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-27 07:21:09 +08:00
Update configure for ab969a376
Commit ab969a376 updated configure.ac but neglected to update the actual configure script. Fix that. Pointed out by Tom Lane
This commit is contained in:
parent
1c77de9801
commit
ca07a6e7bd
26
configure
vendored
26
configure
vendored
@ -12635,9 +12635,9 @@ fi
|
||||
|
||||
if test "$with_gssapi" = yes ; then
|
||||
if test "$PORTNAME" != "win32"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_init_sec_context" >&5
|
||||
$as_echo_n "checking for library containing gss_init_sec_context... " >&6; }
|
||||
if ${ac_cv_search_gss_init_sec_context+:} false; then :
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_store_cred_into" >&5
|
||||
$as_echo_n "checking for library containing gss_store_cred_into... " >&6; }
|
||||
if ${ac_cv_search_gss_store_cred_into+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
ac_func_search_save_LIBS=$LIBS
|
||||
@ -12650,11 +12650,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
char gss_init_sec_context ();
|
||||
char gss_store_cred_into ();
|
||||
int
|
||||
main ()
|
||||
{
|
||||
return gss_init_sec_context ();
|
||||
return gss_store_cred_into ();
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
@ -12667,30 +12667,30 @@ for ac_lib in '' gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'; do
|
||||
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
||||
fi
|
||||
if ac_fn_c_try_link "$LINENO"; then :
|
||||
ac_cv_search_gss_init_sec_context=$ac_res
|
||||
ac_cv_search_gss_store_cred_into=$ac_res
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext
|
||||
if ${ac_cv_search_gss_init_sec_context+:} false; then :
|
||||
if ${ac_cv_search_gss_store_cred_into+:} false; then :
|
||||
break
|
||||
fi
|
||||
done
|
||||
if ${ac_cv_search_gss_init_sec_context+:} false; then :
|
||||
if ${ac_cv_search_gss_store_cred_into+:} false; then :
|
||||
|
||||
else
|
||||
ac_cv_search_gss_init_sec_context=no
|
||||
ac_cv_search_gss_store_cred_into=no
|
||||
fi
|
||||
rm conftest.$ac_ext
|
||||
LIBS=$ac_func_search_save_LIBS
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_init_sec_context" >&5
|
||||
$as_echo "$ac_cv_search_gss_init_sec_context" >&6; }
|
||||
ac_res=$ac_cv_search_gss_init_sec_context
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_store_cred_into" >&5
|
||||
$as_echo "$ac_cv_search_gss_store_cred_into" >&6; }
|
||||
ac_res=$ac_cv_search_gss_store_cred_into
|
||||
if test "$ac_res" != no; then :
|
||||
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
||||
|
||||
else
|
||||
as_fn_error $? "could not find function 'gss_init_sec_context' required for GSSAPI" "$LINENO" 5
|
||||
as_fn_error $? "could not find function 'gss_store_cred_into' required for GSSAPI" "$LINENO" 5
|
||||
fi
|
||||
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user