$NetBSD: patch-ad,v 1.6 2007/11/25 14:42:02 adam Exp $

--- configure.orig	2007-05-25 15:12:35.000000000 +0200
+++ configure
@@ -4716,7 +4716,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
