[MPlayer-dev-eng] [PATCH] Fix --enable-runtime-cpudetection under MinGW

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Jan 6 18:52:25 CET 2007


Hello,
On Sat, Jan 06, 2007 at 04:28:04PM +0800, Zuxy Meng wrote:
> 2006/12/29, Vladimir Voroshilov <voroshil at gmail.com>:
> >Currently, under MinGW on Pentium4, running ./configure
> >--enable-runtime-cpudetection gives following error message:
> >=============cut=====================
> >Error: Runtime CPU detection only works for x86, x86-64 and PPC!
> >
> >Check "" if you do not understand why it failed.
> >=============cut=====================
> >
> >The reason is checking value of "$host_arch" BEFORE it's initialization.
> >
> >Trivial patch attached.
> 
> My previous patch about runtime cpu detection handles this, but when
> Diego commited he apparently missed one line (attached).

I applied my version because it seemed more consistent with how things
are done for the other architectures.
Applying this patch in addition might not be a bad idea though, but I
won't meddle more with the build system than necessary.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list