[FFmpeg-devel] Fixing configure on Solaris

Roman Shaposhnick rvs
Thu Aug 9 01:36:24 CEST 2007


On Thu, 2007-08-09 at 01:19 +0200, Reimar D?ffinger wrote:
> Hello,
> On Thu, Aug 09, 2007 at 12:51:34AM +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].  Why don't you fix the stone age
> > tools in Solaris?
> 
> While I don't really find that > /dev/null is any worse than -q, I also
> agree that getting rid of all that non-POSIX cruft is a much more sane
> solution. Especially considering our requirements for the shell, which
> are much, much harder to fulfill once you leave the "mainstream" OSs.

  Well, seems like -q is preferred over >/dev/null, so perhaps we should
add the /usr/xpg4/bin/ to the FAQ instead.

Thanks,
Roman.





More information about the ffmpeg-devel mailing list