From 9d62b878ce40d9b5f7887c63a4e2498a52253c36 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Mon, 22 Oct 2018 19:06:15 -0700 Subject: [PATCH] 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 04884f7..59ab822 100644 --- a/configure.ac +++ b/configure.ac @@ -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