pkgsrc/x11/xf86-video-savage/patches/patch-aa
joerg 318cadd052 Change configure to check for DRI headers only, if it is not explicitly
enabled or disabled. Request DRI explicitly.
2007-08-15 18:10:01 +00:00

13 lines
444 B
Text

$NetBSD: patch-aa,v 1.1 2007/08/15 18:10:02 joerg Exp $
--- configure.ac.orig 2007-08-15 20:05:43.000000000 +0200
+++ configure.ac
@@ -67,7 +67,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],