Skip to content

Commit

Permalink
Update configure
Browse files Browse the repository at this point in the history
OpenBSD's `sha256sum` equivalent is `sha256`. This adds support in `configure` for it.
  • Loading branch information
grubles authored and rustyrussell committed Oct 15, 2020
1 parent a3c3044 commit 94f84d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,10 @@ if echo | check_command sha256sum sha256sum; then
SHA256SUM=sha256sum
elif echo | check_command "shasum -a 256" shasum -a 256; then
SHA256SUM="shasum -a 256"
elif echo | check_command sha256 sha256; then
SHA256SUM=sha256
else
echo "*** We need sha256sum or shasum -a 256!" >&2
echo "*** We need sha256sum, shasum -a 256, or sha256!" >&2
exit 1
fi

Expand Down

0 comments on commit 94f84d3

Please sign in to comment.