$NetBSD: patch-aa,v 1.16 2010/08/15 11:14:37 drochner Exp $

--- configure.orig	2010-08-11 17:03:30.000000000 +0000
+++ configure
@@ -2992,7 +2992,7 @@ CONFIGURE_OPTIONS="\"$ac_configure_args\
 
 
 CURL_CFLAG_EXTRAS=""
-if test X"$want_werror" == Xyes; then
+if test X"$want_werror" = Xyes; then
   CURL_CFLAG_EXTRAS="-Werror"
 fi
 
@@ -14762,7 +14762,7 @@ squeeze() {
 
 
       #
-  if test "$compiler_id" != "unknown"; then
+  if false; then
     #
     if test "$compiler_id" = "GNU_C" ||
       test "$compiler_id" = "CLANG"; then
@@ -19144,15 +19144,15 @@ $as_echo "#define HAVE_GSSAPI 1" >>confd
            LIBS="$LIBS $gss_libs"
         elif test "$GSSAPI_ROOT" != "yes"; then
            LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib$libsuff"
-           LIBS="$LIBS -lgssapi"
+           LIBS="$LIBS -lgssapi -lkrb5"
         else
-           LIBS="$LIBS -lgssapi"
+           LIBS="$LIBS -lgssapi -lkrb5"
         fi
         ;;
      esac
   else
      LDFLAGS="$LDFLAGS $GSSAPI_LIB_DIR"
-     LIBS="$LIBS -lgssapi"
+     LIBS="$LIBS -lgssapi -lkrb5"
   fi
 else
   CPPFLAGS="$save_CPPFLAGS"
