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

D Richard Felker III dalias at aerifal.cx
Tue Apr 27 23:25:08 CEST 2004


On Tue, Apr 27, 2004 at 09:48:41PM +0200, VMiklos wrote:
> On Tue, 27 Apr 2004, VMiklos wrote:
> 
> > > On Tue, Apr 27, 2004 at 07:17:11PM +0200, VMiklos wrote:
> > > > +    if [ $_cc_major -ge 3 -a $_cc_minor -ge 4 ]; then
> > > this condition is busted.
> > why? i tried _this condition_ with the following values and no
> > problem: {2,3,4}.{3,4,5}.0
> 
> sorry, you are right, that not works with 4.3.0 (why?)
> so i've replaced that to this:
> 
> if [ $_cc_major$_cc_minor -ge 34 ]; then

Someone would have been drinking a huge bottle of pepsi if this had
gotten committed...!!

Rich




More information about the MPlayer-dev-eng mailing list