Commit c532a801 authored by Glenn Morris's avatar Glenn Morris

Try to work around intermittent autogen failure on

* (check_version): Try to handle odd systems where
/bin/sh does not define the "command" builtin.
parent 83fc9009
......@@ -82,7 +82,14 @@ check_version ()
printf '%s' "(using $uprog0=$uprog) "
command -v $uprog > /dev/null || return 1
## /bin/sh should always define the "command" builtin, but for
## some odd reason sometimes it does not on
## /bin/sh = "BusyBox v1.27.2", "built-in shell (ash)". ?
if command -v command > /dev/null; then
command -v $uprog > /dev/null || return 1
$uprog --version > /dev/null 2>&1 || return 1
have_version=`get_version $uprog` || return 4
have_maj=`major_version $have_version`
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