pkgsrc/x11/xf86-video-tdfx/patches/patch-ac
joerg 0f3afb241b Change configure to check the DRI headers only, if DRI is not explicitly
enabled or disabled. Explicitly request DRI.
2007-08-15 17:55:41 +00:00

13 lines
444 B
Text

$NetBSD: patch-ac,v 1.1 2007/08/15 17:55:42 joerg Exp $
--- configure.ac.orig 2007-08-15 19:51:28.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],