[MPlayer-dev-eng] configure: kernel check for mtrr missing?
diego at biurrun.de
Mon Feb 12 14:59:53 CET 2007
On Wed, Feb 07, 2007 at 09:57:20AM +0800, Zuxy Meng wrote:
> 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:
> >> 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.
I've changed it to be automatically enabled.
More information about the MPlayer-dev-eng