configure: Disable gssapi also when linking with kerberos doesn't work.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48314
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-12-19 15:24:01 +01:00
parent c22af971c2
commit 382df5d14d
2 changed files with 2 additions and 4 deletions

3
configure vendored
View File

@ -15747,8 +15747,6 @@ CPPFLAGS=$ac_save_CPPFLAGS
test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
else
with_gssapi=${with_gssapi:-no}
fi
if test "x$ac_cv_lib_soname_krb5" = "x"; then :
case "x$with_krb5" in
@ -15759,6 +15757,7 @@ This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
esac
fi
test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
if test "x$with_gssapi" != "xno"
then

View File

@ -1818,11 +1818,10 @@ then
else
KRB5_CFLAGS=""
fi])
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 (or too old), Kerberos won't be supported.])
test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
dnl **** Check for gssapi ****
if test "x$with_gssapi" != "xno"