On Wed, 01/15 13:30, Paolo Bonzini wrote: > Il 15/01/2014 13:18, Alex Bligh ha scritto: > > I phrased that badly. I meant same output for the same calling convention, > > so > > surely just replacing 'sha256sum' with 'shasum -a 256' is going to work > > fine on > > all systems? > > I don't think all systems are guaranteed to have shasum. If we use > SHA-1, and just look for the three binaries sha1sum/sha1/shasum, we > don't have to bother about arguments and only add 10 lines or so to > configure. >
Agreed. I'll add a test and probe for any one of shasum, sha256 and sha256sum. Easy enough. Fam