1--- xf86-video-tdfx-1.3.0/configure.ac.orig 2007-06-10 21:01:54.000000000 +0200 2+++ xf86-video-tdfx-1.3.0/configure.ac 2007-06-10 21:02:06.000000000 +0200 3@@ -67,13 +67,20 @@ 4 # Checks for header files. 5 AC_HEADER_STDC 6 7-if test "$DRI" != no; then 8+if test "x$DRI" != xno; then 9+ if test "$cross_compiling" = "no" ; then 10 AC_CHECK_FILE([${sdkdir}/dri.h], 11 [have_dri_h="yes"], [have_dri_h="no"]) 12 AC_CHECK_FILE([${sdkdir}/sarea.h], 13 [have_sarea_h="yes"], [have_sarea_h="no"]) 14 AC_CHECK_FILE([${sdkdir}/dristruct.h], 15 [have_dristruct_h="yes"], [have_dristruct_h="no"]) 16+ AC_CHECK_HEADER 17+ else 18+ have_dri_h="yes" 19+ have_sarea_h="yes" 20+ have_dristruct_h="yes" 21+ fi 22 fi 23 24 AC_MSG_CHECKING([whether to include DRI support]) 25