build system: test that od is present in the host system
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
This commit is contained in:
parent
bed7c81ea2
commit
06a80bdbea
@ -9,6 +9,12 @@ test -x "$loc/usage" || exit 1
|
|||||||
test "$SED" || SED=sed
|
test "$SED" || SED=sed
|
||||||
test "$DD" || DD=dd
|
test "$DD" || DD=dd
|
||||||
|
|
||||||
|
true | od -v -t x1 >/dev/null
|
||||||
|
if test $? != 0; then
|
||||||
|
echo 'od tool is not installed or cannot accept "-v -t x1" options'
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
exec >"$target.$$"
|
exec >"$target.$$"
|
||||||
|
|
||||||
echo '#define UNPACKED_USAGE "" \'
|
echo '#define UNPACKED_USAGE "" \'
|
||||||
|
Loading…
Reference in New Issue
Block a user