[MPlayer-dev-eng] [PATCH] clean up tests in configure

Diego Biurrun diego at biurrun.de
Thu Jun 30 11:06:28 CEST 2005


On Fri, Jun 10, 2005 at 12:28:22AM -0700, Corey Hickey wrote:
> I recently came upon this:
> 
> [ "$cc_vendor" = "gnu" ] && ([ "$_cc_major" -gt 3 ] || ( [ "$_cc_major"
> = 3 ] && [ "$_cc_minor" -ge 4 ]))
> 
> ...over which I prefer:
> 
> test "$cc_vendor" = "gnu" && test "$_cc_major" -gt 3 -o "$_cc_major" -eq
> 3 -a "$_cc_minor" -ge 4
> 
> ...but I foolishly decided to make a more substantial patch than a
> one-line change. I found 44 tests in configure that I could clean up
> slightly.

I'm tempted to apply this, object quickly or live with the consequences
;)

Diego




More information about the MPlayer-dev-eng mailing list