configure's tar ustar test can fail on Solaris

Mark Davies mark at mcs.vuw.ac.nz
Sat Jul 15 00:39:52 CEST 2006


On Wednesday 12 July 2006 03:35, Werner Koch wrote:
> On Sun,  9 Jul 2006 00:12, Mark Davies said:
> > -        $_mytar -cf - conftest.txt | grep -q ustar
> > +        $_mytar -cf - conftest.txt | strings | grep -q ustar
>
> I am not sure whether strings is available on all platforms. What
> about
>
>   $_mytar -cf - conftest.txt | ( strings || cat ) | grep -q ustar


If that works then fine, but I will note that strings has been on every unix 
system I've ever used (going back to BSD4.2) and it is part of POSIX and the 
Single Unix Specification.

cheers
mark



More information about the Gnupg-devel mailing list