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

Paul Jarc prj at po.cwru.edu
Tue Apr 27 23:33:06 CEST 2004


VMiklos <mamajom at axelero.hu> wrote:
> if [ $_cc_major -gt 3 -o $_cc_major -eq 3 -a $_cc_minor -ge 4 ]; then

It's best to avoid -a/-o, and use &&/|| instead, with { } for
grouping.
if [ "$_cc_major" -gt 3 ] ||
   { [ "$_cc_major" = 3 ] && [ "$cc_minor" -ge 4 ]; then


paul




More information about the MPlayer-dev-eng mailing list