[MPlayer-dev-eng] configure: kernel check for mtrr missing?

Zuxy Meng zuxy.meng at gmail.com
Wed Feb 7 02:57:20 CET 2007


Hi,

2007/2/7, Bernd Ernesti <mplayer-dev-eng at lists.veego.de>:
> On Tue, Feb 06, 2007 at 09:39:42PM +0800, Zuxy Meng wrote:
> > Hi,
> >
> > 2007/2/6, Diego Biurrun <diego at biurrun.de>:
> > >On Tue, Feb 06, 2007 at 01:35:15PM +0800, Zuxy Meng wrote:
> > >>
> > >> r22088 replaces "yes" with "kernel_check" for cpu capabilities, but
> > >> mtrr doesn't have a chance to check if it's supported by kernel. Do we
> > >> have to performe a similar check for mtrr or kernel_check == yes for
> > >> mtrr?
> > >
> > >A kernel check would be preferred.  Do you have an idea how to do it?
> >
> > Don't know exactly.Maybe checking the existence of /proc/mtrr is fairly
> > enough?
>
> This will not work on NetBSD, because there is no /proc/mtrr.

It really doesn't matter: mtrr check in configure is purely cosmetic
and won't affect config.h or config.mak. Even removing it won't hurt
mplayer's functionality.
-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6



More information about the MPlayer-dev-eng mailing list