e25939807c370a93150276fadd60f1f8b282c02a
[buildroot.git] /
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
4 fi
5
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"])
14 + else
15 + have_dri_h="yes"
16 + have_sarea_h="yes"
17 + have_dristruct_h="yes"
18 + fi
19 fi
20
21 AC_MSG_CHECKING([whether to include DRI support])