summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2018-10-22 19:06:15 -0700
committerKevin Brace <kevinbrace@gmx.com>2018-10-22 20:26:51 -0700
commit9d62b878ce40d9b5f7887c63a4e2498a52253c36 (patch)
tree545be1f18d718da449099f3ecc3f9f2f715da1c2
parent1b17c78941762c38e3ea37e0b259270286c18455 (diff)
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>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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