1 --- a/configure.ac 2008-04-09 15:42:55.000000000 -0400
2 +++ b/configure.ac 2008-06-23 09:39:06.000000000 -0400
3 @@ -87,12 +87,18 @@ if test x$XSERVER_LIBPCIACCESS = xyes; t
6 if test "$DRI" != no; 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])