$NetBSD: patch-ad,v 1.2 2009/06/10 08:05:03 hasso Exp $

--- configure.orig	2008-12-22 07:20:58 +0200
+++ configure	2009-06-10 10:30:58 +0300
@@ -21499,7 +21499,7 @@ _ACEOF
 fi
 
 
-if test "$DRI" != no; then
+if test "x$DRI" = xauto; then
         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
 { $as_echo "$as_me:$LINENO: checking for ${sdkdir}/dri.h" >&5
 $as_echo_n "checking for ${sdkdir}/dri.h... " >&6; }
