From 853547a0c423bfc61b801ee4a72aa6d7c7d76b17 Mon Sep 17 00:00:00 2001 From: Sergey Kvachonok Date: Mon, 13 Dec 2010 14:08:47 +0200 Subject: [PATCH] Replace AC_CHECK_FILE with test -f in configure.in. AC_CHECK_FILE runs target executable and dies when cross-compiling. It's unnecessary when checking for files in build environment, simple runtime check will do. Signed-off-by: Sergey Kvachonok --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 57879360..e4ab33b9 100644 --- a/configure.in +++ b/configure.in @@ -48,8 +48,8 @@ fi # =================================================================== features="features.conf" -AC_CHECK_FILE("$srcdir/$features", [ . $srcdir/$features ]) -AC_CHECK_FILE("$builddir/$features", [ . $builddir/$features ]) +test -f "$srcdir/$features" && . "$srcdir/$features" +test -f "$builddir/$features" && . "$builddir/$features" echo "Feature summary:" > features.log # ===================================================================