4 http://git.buildroot.net/buildroot/commit/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128-cross-compile.patch?id=c0726391523da6a17ffa8e62681ffa0cc895da8e
6 Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
8 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
10 --- a/configure.ac 2008-06-23 10:39:28.000000000 -0400
11 +++ b/configure.ac 2008-06-23 10:40:46.000000000 -0400
12 @@ -85,14 +85,20 @@ sdkdir=$(pkg-config --variable=sdkdir xo
15 if test "$DRI" != no; then
16 - AC_CHECK_FILE([${sdkdir}/dri.h],
17 + if test "$cross_compiling" = "no" ; then
18 + AC_CHECK_FILE([${sdkdir}/dri.h],
19 [have_dri_h="yes"], [have_dri_h="no"])
20 - AC_CHECK_FILE([${sdkdir}/sarea.h],
21 + AC_CHECK_FILE([${sdkdir}/sarea.h],
22 [have_sarea_h="yes"], [have_sarea_h="no"])
23 - AC_CHECK_FILE([${sdkdir}/dristruct.h],
24 + AC_CHECK_FILE([${sdkdir}/dristruct.h],
25 [have_dristruct_h="yes"], [have_dristruct_h="no"])
26 - AC_CHECK_FILE([${sdkdir}/damage.h],
27 + AC_CHECK_FILE([${sdkdir}/damage.h],
28 [have_damage_h="yes"], [have_damage_h="no"])
32 + have_dristruct_h="yes"
36 AC_MSG_CHECKING([whether to include DRI support])
38 AC_MSG_CHECKING([whether to enable EXA support])
39 if test "x$EXA" = xyes; then
41 - AC_CHECK_FILE(${sdkdir}/exa.h, [have_exa_h="yes"], [have_exa_h="no"])
42 + if test "$cross_compiling" = "no" ; then
43 + AC_CHECK_FILE(${sdkdir}/exa.h,
44 + [have_exa_h="yes"], [have_exa_h="no"])