1 --- xf86-video-mga-1.4.9/configure.ac.orig 2007-06-10 11:55:24.000000000 +0200
2 +++ xf86-video-mga-1.4.9/configure.ac 2007-06-10 12:00:37.000000000 +0200
6 if test "x$DRI" != xno; then
7 + if test "$cross_compiling" = no; then
8 AC_CHECK_FILE([${sdkdir}/dri.h],
9 [have_dri_h="yes"], [have_dri_h="no"])
10 AC_CHECK_FILE([${sdkdir}/sarea.h],
11 [have_sarea_h="yes"], [have_sarea_h="no"])
12 AC_CHECK_FILE([${sdkdir}/dristruct.h],
13 [have_dristruct_h="yes"], [have_dristruct_h="no"])
17 + have_dristruct_h="yes"
21 AC_MSG_CHECKING([whether to include DRI support])