shasum -a 256 is an alternative for sha256 on Mac OS X

First set of patches from #10028
This commit is contained in:
Niels Sascha Reedijk 2013-09-29 10:21:06 +02:00
parent 3e3ffe6858
commit b5a871b1bf

2
configure vendored
View File

@ -482,6 +482,8 @@ if sha256sum < /dev/null > /dev/null 2>&1; then
HOST_SHA256=sha256sum
elif sha256 < /dev/null > /dev/null 2>&1; then
HOST_SHA256="sha256 -q"
elif shasum < /dev/null > /dev/null 2>&1; then
HOST_SHA256="shasum -a 256"
else
echo "Error: Neither sha256sum nor sha256 seem to be available!" >&2
exit 1