Bug#906642: xserver-xorg-video-mach64 FTCBFS: one more AC_CHECK_FILE abuse
Source: xserver-xorg-video-r128
Version: 6.11.0-1
Tags: patch upstream
User: helmutg@debian.org
Usertags: rebootstrap
Thank you for fixing #888692. Unfortunatly, another AC_CHECK_FILE is now
present and makes xserver-xorg-video-r128 fail again. The attached patch
fixes that and makes it cross buildable. Please consider applying it.
Helmut
--- xserver-xorg-video-r128-6.11.0.orig/configure.ac
+++ xserver-xorg-video-r128-6.11.0/configure.ac
@@ -131,7 +131,7 @@
AC_MSG_CHECKING([whether to enable EXA support])
if test "x$EXA" = xyes; then
AC_MSG_RESULT(yes)
- AC_CHECK_FILE(${sdkdir}/exa.h, [have_exa_h="yes"], [have_exa_h="no"])
+ AS_IF([test -f "${sdkdir}/exa.h"], [have_exa_h="yes"], [have_exa_h="no"])
else
AC_MSG_RESULT(no)
fi
Reply to: