[FFmpeg-devel] Fixing configure on Solaris

Roman Shaposhnick rvs
Thu Aug 9 01:35:28 CEST 2007


On Thu, 2007-08-09 at 00:51 +0200, Diego Biurrun wrote:
> On Wed, Aug 08, 2007 at 02:08:56PM -0700, Roman Shaposhnick wrote:
> > As per grep(1) man page:
> > 
> > -----------------------------------------------------------------------
> > Portability note: unlike GNU grep, traditional grep did not conform to
> > POSIX.2, because traditional grep lacked a -q option  and  its  -s
> > option  behaved  like GNU grep's -q option.  Shell scripts intended to
> > be portable to traditional grep should avoid both -q and -s and should
> > redirect output to /dev/null instead.
> > -----------------------------------------------------------------------
> > 
> > Ok to apply?
> 
> I don't like it.  -q is part of POSIX[1].  

  True. And that's exactly why I quoted the paragraph from the grep
manual: for the POSIX environment it is NOT needed, yet it is
recommended for improved portability.

> Why don't you fix the stone age tools in Solaris?

  Oh, don't get me wrong -- its not like it is broken on Solaris or 
anything. A fully POSIX compliant grep is available from /usr/xpg4/bin.
This was more a question of default behavior I guess. 

Thanks,
Roman.





More information about the ffmpeg-devel mailing list