[MPlayer-dev-eng] GTK2

ak 4nykey at gmail.com
Tue Aug 16 16:01:42 CEST 2005


On Tue, 16 Aug 2005, Torinthiel wrote:

> On Tue, Aug 16, 2005 at 01:16:31AM +0200, Alexander Strasser wrote:
> >   Why do you use a subshell here and is &> really portable? AFAIK not.
> > Maybe I am just to tired but i think would rather like to see it done
> > this way:
> >   if pkg-config gtk+-2.0 --modversion >/dev/null 2>&1 ; then
> 
> Probably because subshell is already in the GTK code (and number of other
> places possibly). Anyway here is the patch with &> replaced, works for
> me.
> Torinthiel

Wouldn't `pkg-config --exists` be usefull here, as it prints
nothing, hence no need to redirect to /dev/null.




More information about the MPlayer-dev-eng mailing list