configure: Better checking that sha commands output in the desired format.

Run the same code git-annex used to get the sha, including its sanity
checking. Much better than old grep. Should detect FreeBSD systems with
sha commands that output in stange format.
This commit is contained in:
Joey Hess 2013-05-08 11:17:09 -04:00
parent cda0ed5d25
commit d38854f3d1
4 changed files with 86 additions and 48 deletions

1
debian/changelog vendored
View file

@ -17,6 +17,7 @@ git-annex (4.20130502) UNRELEASED; urgency=low
as received.
* SHA: Add a runtime sanity check that sha commands output something
that appears to be a real sha.
* configure: Better checking that sha commands output in the desired format.
-- Joey Hess <joeyh@debian.org> Thu, 02 May 2013 20:39:19 -0400