don't fail if BR2_USE_UPDATES tries to update non-checkout
[buildroot.git] / package / x11r7 / xdriver_xf86-video-tdfx / xdriver_xf86-video-tdfx-1.3.0.patch
blobe53591bb0bc247c949d5182b18b0409260eb1d5b
1 --- xf86-video-tdfx-1.3.0/configure.ac.orig 2007-06-10 21:01:54.000000000 +0200
2 +++ xf86-video-tdfx-1.3.0/configure.ac 2007-06-10 21:02:06.000000000 +0200
3 @@ -67,13 +67,20 @@
4 # Checks for header files.
5 AC_HEADER_STDC
7 -if test "$DRI" != no; then
8 +if test "x$DRI" != xno; then
9 + if test "$cross_compiling" = "no" ; then
10 AC_CHECK_FILE([${sdkdir}/dri.h],
11 [have_dri_h="yes"], [have_dri_h="no"])
12 AC_CHECK_FILE([${sdkdir}/sarea.h],
13 [have_sarea_h="yes"], [have_sarea_h="no"])
14 AC_CHECK_FILE([${sdkdir}/dristruct.h],
15 [have_dristruct_h="yes"], [have_dristruct_h="no"])
16 + AC_CHECK_HEADER
17 + else
18 + have_dri_h="yes"
19 + have_sarea_h="yes"
20 + have_dristruct_h="yes"
21 + fi
24 AC_MSG_CHECKING([whether to include DRI support])