autogen.sh: don't require `which'
use posix standard "commmand" instead.
This commit is contained in:
@ -6,7 +6,8 @@ test -f mu/mu.cc || {
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
if test -z `which autoreconf`; then
|
command -V autoreconf > /dev/null
|
||||||
|
if [[ $? != 0 ]]; then
|
||||||
echo "*** No autoreconf found, please install it ***"
|
echo "*** No autoreconf found, please install it ***"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user