Changeset View
Changeset View
Standalone View
Standalone View
dns/samba-nsupdate/files/patch-configure.in
--- configure.in.orig 2013-09-05 05:19:53.000000000 +0000 | --- configure.in.orig 2018-09-05 17:15:26.000000000 -0700 | ||||
+++ configure.in 2013-10-18 14:30:21.711727438 +0000 | +++ configure.in 2018-11-02 21:25:17.714365000 -0700 | ||||
@@ -1013,7 +1013,8 @@ | @@ -1126,7 +1126,7 @@ | ||||
"-lgssapi" \ | saved_libs="$LIBS" | ||||
"-lgssapi -lkrb5 -ldes -lcrypt -lasn1 -lroken -lcom_err" \ | LIBS=$gssapi_libs | ||||
"-lgssapi -lkrb5 -lcrypto -lcrypt -lasn1 -lroken -lcom_err" \ | AC_MSG_CHECKING([krb5-config linking as $LIBS]) | ||||
- AC_TRY_LINK( , [gss_acquire_cred();krb5_init_context()], | |||||
+ AC_TRY_LINK( , [gss_acquire_cred();krb5_init_context();gsskrb5_register_acceptor_identity("krb5");], | |||||
gssapi_linked=yes, gssapi_linked=no) | |||||
case $gssapi_linked in | |||||
yes) AC_MSG_RESULT([krb5-config: linked]);; | |||||
@@ -1263,7 +1263,8 @@ | |||||
"-lgssapi -lkrb5 -lcrypt -lasn1 -lroken -lcom_err" \ | |||||
"-lgssapi -lkrb5 -lgssapi_krb5 -lcrypt -lasn1 -lroken -lcom_err" \ | |||||
"-lgssapi -lkrb5 -lhx509 -lcrypt -lasn1 -lroken -lcom_err" \ | |||||
- "-lgss -lkrb5" | - "-lgss -lkrb5" | ||||
+ "-lgss -lkrb5" \ | + "-lgss -lkrb5" \ | ||||
+ "-lgssapi_krb5 -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err -lcrypto -lasn1 -lroken -lcrypt" | + "-lgssapi_krb5 -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err -lcrypto -lasn1 -lroken -lcrypt" | ||||
do | do | ||||
# Note that this does not include $saved_libs, because | # Note that this does not include $saved_libs, because | ||||
# on FreeBSD machines this configure script has added | # on FreeBSD machines this configure script has added | ||||
@@ -1027,7 +1028,7 @@ | |||||
LIBS="-L$use_gssapi/lib $TRY_LIBS" | |||||
fi | |||||
AC_MSG_CHECKING(linking as $TRY_LIBS) | |||||
- AC_TRY_LINK( , [gss_acquire_cred();krb5_init_context()], | |||||
+ AC_TRY_LINK( , [gss_acquire_cred();krb5_init_context();gsskrb5_register_acceptor_identity("krb5");], | |||||
gssapi_linked=yes, gssapi_linked=no) | |||||
case $gssapi_linked in | |||||
yes) AC_MSG_RESULT(yes); break ;; |