summaryrefslogtreecommitdiff
path: root/x11/xf86-video-ati/patches/patch-ab
blob: 8bf5a40a0bb65f4fdbb98ce3f887dd7c05c6ab7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.1 2007/08/15 18:16:35 joerg Exp $

--- configure.ac.orig	2007-08-15 20:12:28.000000000 +0200
+++ configure.ac
@@ -84,7 +84,7 @@ sdkdir=$(pkg-config --variable=sdkdir xo
 # Checks for header files.
 AC_HEADER_STDC
 
-if test "$DRI" != no; 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],