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

--- configure.orig	2007-08-15 20:20:11.000000000 +0200
+++ configure
@@ -21412,7 +21412,7 @@ _ACEOF
 fi
 
 
-if test "x$DRI" != xno; then
+if test "x$DRI" = xauto; then
         as_ac_File=`echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
 { echo "$as_me:$LINENO: checking for ${sdkdir}/dri.h" >&5
 echo $ECHO_N "checking for ${sdkdir}/dri.h... $ECHO_C" >&6; }
