Hans Leidekker : configure: Require a more recent version of libkrb5.
Alexandre Julliard
julliard at winehq.org
Wed May 2 15:50:02 CDT 2018
Module: wine
Branch: master
Commit: ca919ee9c414f668f57a78476bab3b59c9f33d3a
URL: https://source.winehq.org/git/wine.git/?a=commit;h=ca919ee9c414f668f57a78476bab3b59c9f33d3a
Author: Hans Leidekker <hans at codeweavers.com>
Date: Wed May 2 14:15:03 2018 +0200
configure: Require a more recent version of libkrb5.
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
configure | 8 ++++----
configure.ac | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/configure b/configure
index 0529256..cf625c8 100755
--- a/configure
+++ b/configure
@@ -13640,11 +13640,11 @@ LIBS="-lkrb5 $KRB5_LIBS $LIBS"
#ifdef __cplusplus
extern "C"
#endif
-char krb5_init_context ();
+char krb5_is_config_principal ();
int
main ()
{
-return krb5_init_context ();
+return krb5_is_config_principal ();
;
return 0;
}
@@ -13689,9 +13689,9 @@ else
fi
if test "x$ac_cv_lib_soname_krb5" = "x"; then :
case "x$with_krb5" in
- x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
+ x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
xno) ;;
- *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
+ *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
esac
diff --git a/configure.ac b/configure.ac
index fe8ffaa..7386d74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1669,7 +1669,7 @@ then
[AC_CHECK_HEADERS([krb5/krb5.h])
if test "$ac_cv_header_krb5_krb5_h" = "yes"
then
- WINE_CHECK_SONAME(krb5,krb5_init_context,,[KRB5_CFLAGS=""],[$KRB5_LIBS])
+ WINE_CHECK_SONAME(krb5,krb5_is_config_principal,,[KRB5_CFLAGS=""],[$KRB5_LIBS])
else
KRB5_CFLAGS=""
fi])
@@ -1677,7 +1677,7 @@ else
with_gssapi=${with_gssapi:-no}
fi
WINE_NOTICE_WITH(krb5,[test "x$ac_cv_lib_soname_krb5" = "x"],
- [libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.])
+ [libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.])
dnl **** Check for gssapi ****
if test "x$with_gssapi" != "xno"
More information about the wine-cvs
mailing list