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

Zuxy Meng zuxy.meng at gmail.com
Sat Jan 6 09:28:04 CET 2007


Hi,

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).
-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: configure.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070106/073a40f3/attachment.txt>


More information about the MPlayer-dev-eng mailing list