board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / x11r7 / xdriver_xf86-video-mga / 0001-misc-fixes.patch
blob5707bd1b3a1ab38d1d3243d454442f2dc52ec5ee
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
3 @@ -77,12 +77,18 @@
4 AC_HEADER_STDC
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"])
14 + else
15 + have_dri_h="yes"
16 + have_sarea_h="yes"
17 + have_dristruct_h="yes"
18 + fi
21 AC_MSG_CHECKING([whether to include DRI support])