Commit 846f17aa authored by Anton Ertl's avatar Anton Ertl

better gforth detection in configure

parent f2ab3904
......@@ -1220,7 +1220,7 @@ AC_SUBST(include_fi)
AC_MSG_CHECKING([for gforth])
if test -z "$GFORTH"
then
GFORTH="`cd / && which gforth 2>/dev/null`"
GFORTH="`cd / && command -v gforth`"
(cd / && "$GFORTH" -e bye >/dev/null 2>/dev/null) || GFORTH=""
fi
if test -z "$GFORTH"; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment