[MPlayer-dev-eng] [PATCH] try4: configure: use s/-mcpu/-mtune/ if gcc >= 3.4.0

VMiklos mamajom at axelero.hu
Thu Apr 29 17:02:28 CEST 2004


On Tue, 27 Apr 2004, VMiklos wrote:

> > > if [ $_cc_major -gt 3 -o $_cc_major -eq 3 -a $_cc_minor -ge 4 ]; then
> > > hope this is ok ;-)
> > no, it's not, because at least some shells read this as
> > [ \( $_cc_major -gt 3 -o $_cc_major -eq 3 \) -a $_cc_minor -ge 4 ]
> > which is obviously wrong.
> so here is try4 ;-)

any comments on this?
if [ "$_cc_major" -gt 3 ] || ( [ "$_cc_major" = 3 ] && [ "$_cc_minor" -ge  4 ]) ; then

it's ok?

udv / greetings

---
       __________     VMiklos / FrugalWare & EL Team
  ____/__/___|___\__. E-mail: mamajom at axelero dot hu
O__O  _ |   |   _  |  Homepage: http://www.vmiklos.tk
'--`-(_)'---'--(_)-'  gpg --keyserver pgp.mit.edu --recv-keys 03915096





More information about the MPlayer-dev-eng mailing list