$NetBSD: patch-ab,v 1.1 2007/08/15 18:23:58 joerg Exp $

--- configure.orig	2009-04-27 20:59:10 +0300
+++ configure	2009-06-09 11:41:44 +0300
@@ -12600,7 +12600,7 @@ _ACEOF
 fi
 
 
-if test "x$DRI" != xno; 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; }
