configure: Require a more recent version of libkrb5.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hans Leidekker 2018-05-02 14:15:03 +02:00 committed by Alexandre Julliard
parent fc3057c4f3
commit ca919ee9c4
2 changed files with 6 additions and 6 deletions

8
configure vendored
View File

@ -13640,11 +13640,11 @@ LIBS="-lkrb5 $KRB5_LIBS $LIBS"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
#endif #endif
char krb5_init_context (); char krb5_is_config_principal ();
int int
main () main ()
{ {
return krb5_init_context (); return krb5_is_config_principal ();
; ;
return 0; return 0;
} }
@ -13689,9 +13689,9 @@ else
fi fi
if test "x$ac_cv_lib_soname_krb5" = "x"; then : if test "x$ac_cv_lib_soname_krb5" = "x"; then :
case "x$with_krb5" in 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) ;; 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 ;; This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
esac esac

View File

@ -1669,7 +1669,7 @@ then
[AC_CHECK_HEADERS([krb5/krb5.h]) [AC_CHECK_HEADERS([krb5/krb5.h])
if test "$ac_cv_header_krb5_krb5_h" = "yes" if test "$ac_cv_header_krb5_krb5_h" = "yes"
then 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 else
KRB5_CFLAGS="" KRB5_CFLAGS=""
fi]) fi])
@ -1677,7 +1677,7 @@ else
with_gssapi=${with_gssapi:-no} with_gssapi=${with_gssapi:-no}
fi fi
WINE_NOTICE_WITH(krb5,[test "x$ac_cv_lib_soname_krb5" = "x"], 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 **** dnl **** Check for gssapi ****
if test "x$with_gssapi" != "xno" if test "x$with_gssapi" != "xno"