diff --git a/configure b/configure index 61327c673d9..f8e2f698014 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.ac b/configure.ac index 8a121bce016..e347738961e 100644 --- a/configure.ac +++ b/configure.ac @@ -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"