Commit ca919ee9 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

configure: Require a more recent version of libkrb5.

parent fc3057c4
......@@ -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
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment