Another fix for cross build failure

While commit 11b230b removed most usage of AC_CHECK_FILE, one more of
it was left in the compilation build script. This will hopefully fix
the cross build failure for good.

Signed-off-by: Helmut Grohne <helmut@subdivi.de>
This commit is contained in:
Helmut Grohne
2018-10-22 19:06:15 -07:00
committed by Kevin Brace
parent 1b17c78941
commit 9d62b878ce

View File

@@ -131,7 +131,7 @@ CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
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