kmod: bump to version 24
[buildroot-gz.git] / package / x11r7 / xdriver_xf86-video-mach64 / 0001-cross-compile.patch
blobd27617606eac9cf914f637022864f2e8cb782508
1 --- a/configure.ac 2008-06-23 10:39:28.000000000 -0400
2 +++ b/configure.ac 2008-06-23 10:40:46.000000000 -0400
3 @@ -85,14 +85,20 @@ sdkdir=$(pkg-config --variable=sdkdir xo
4 AC_HEADER_STDC
6 if test "$DRI" != no; then
7 - AC_CHECK_FILE([${sdkdir}/dri.h],
8 + if test "$cross_compiling" = "no" ; then
9 + AC_CHECK_FILE([${sdkdir}/dri.h],
10 [have_dri_h="yes"], [have_dri_h="no"])
11 - AC_CHECK_FILE([${sdkdir}/sarea.h],
12 + AC_CHECK_FILE([${sdkdir}/sarea.h],
13 [have_sarea_h="yes"], [have_sarea_h="no"])
14 - AC_CHECK_FILE([${sdkdir}/dristruct.h],
15 + AC_CHECK_FILE([${sdkdir}/dristruct.h],
16 [have_dristruct_h="yes"], [have_dristruct_h="no"])
17 - AC_CHECK_FILE([${sdkdir}/damage.h],
18 + AC_CHECK_FILE([${sdkdir}/damage.h],
19 [have_damage_h="yes"], [have_damage_h="no"])
20 + else
21 + have_dri_h="yes"
22 + have_sarea_h="yes"
23 + have_dristruct_h="yes"
24 + fi
27 AC_MSG_CHECKING([whether to include DRI support])