pkgsrc/x11/xf86-video-mga/patches/patch-aa
joerg 67aa3c712f Change configure to check for DRI headers only, if it is not explicitly
enabled or disabled. Request DRI explicitly.
2007-08-15 18:23:57 +00:00

13 lines
446 B
Text

$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],