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

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Jan 5 11:10:23 CET 2007


Hello,
On Fri, Dec 29, 2006 at 02:18:46PM +0600, Vladimir Voroshilov wrote:
> 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.

Somehow missed your patch. I applied something similar because it didn't
work on Linux/AMD64 either (I put the check after the "Detected host
architecture:" output, which I thought might be useful *g*).

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list