$NetBSD: patch-aa,v 1.1 2007/08/15 18:23:57 joerg Exp $ --- configure.ac.orig 2007-08-15 20:20:13.000000000 +0200 +++ configure.ac @@ -76,7 +76,7 @@ sdkdir=$(pkg-config --variable=sdkdir xo # Checks for header files. AC_HEADER_STDC -if test "x$DRI" != xno; then +if test "x$DRI" = xauto; then AC_CHECK_FILE([${sdkdir}/dri.h], [have_dri_h="yes"], [have_dri_h="no"]) AC_CHECK_FILE([${sdkdir}/sarea.h],