$NetBSD: patch-ab,v 1.1 2007/08/15 17:50:10 joerg Exp $

--- configure.orig	2007-08-15 19:44:00.000000000 +0200
+++ configure
@@ -20326,7 +20326,7 @@ done
 
 
 
-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
