19 lines
735 B
Diff
19 lines
735 B
Diff
--- configure.ac
|
|
+++ configure.ac
|
|
@@ -3220,7 +3220,14 @@
|
|
K5LIBS="-lgssapi $K5LIBS" ],
|
|
[ AC_CHECK_LIB(gssapi_krb5,gss_init_sec_context,
|
|
[ AC_DEFINE(GSSAPI)
|
|
- K5LIBS="-lgssapi_krb5 $K5LIBS" ],
|
|
+ K5LIBS="-lgssapi_krb5 $K5LIBS" ]
|
|
+ AC_CHECK_LIB(gssapi_krb5, gss_krb5_copy_ccache, [
|
|
+ K5LIBS="-lgssapi_krb5 $K5LIBS"
|
|
+ ], [
|
|
+ AC_MSG_WARN([Cannot find -lgssapi_krb5 with gss_krb5_copy_ccache()])
|
|
+ ],
|
|
+ $K5LIBS
|
|
+ ),
|
|
AC_MSG_WARN([Cannot find any suitable gss-api library - build may fail]),
|
|
$K5LIBS)
|
|
],
|