1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

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 <ravenexp@gmail.com>
This commit is contained in:
Sergey Kvachonok 2010-12-13 14:08:47 +02:00 committed by witekfl
parent d65ca4a7fe
commit 853547a0c4

View File

@ -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
# ===================================================================