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
4 # Checks for header files.
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"])
20 + have_dristruct_h="yes"
24 AC_MSG_CHECKING([whether to include DRI support])