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:
parent
d65ca4a7fe
commit
853547a0c4
@ -48,8 +48,8 @@ fi
|
|||||||
# ===================================================================
|
# ===================================================================
|
||||||
|
|
||||||
features="features.conf"
|
features="features.conf"
|
||||||
AC_CHECK_FILE("$srcdir/$features", [ . $srcdir/$features ])
|
test -f "$srcdir/$features" && . "$srcdir/$features"
|
||||||
AC_CHECK_FILE("$builddir/$features", [ . $builddir/$features ])
|
test -f "$builddir/$features" && . "$builddir/$features"
|
||||||
echo "Feature summary:" > features.log
|
echo "Feature summary:" > features.log
|
||||||
|
|
||||||
# ===================================================================
|
# ===================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user