$NetBSD: patch-ad,v 1.8 2008/11/25 12:51:35 adam Exp $

--- configure.orig	2008-05-25 13:16:03.000000000 +0200
+++ configure
@@ -5880,7 +5880,7 @@ echo $ECHO_N "checking if the compiler s
 # What we want to do: set AUTO_DEPENDENCIES to yes if gcc => 3.x
 
 AUTO_DEPENDENCIES=""
-if test ! ${GCC} = "yes" ; then
+if test "X${GCC}" != "Xyes" ; then
   { echo "$as_me:$LINENO: result: no: it's not gcc" >&5
 echo "${ECHO_T}no: it's not gcc" >&6; }
 else
