[MPlayer-dev-eng] [RFC] RTC check in configure

Diego Biurrun diego at biurrun.de
Wed Mar 29 23:45:24 CEST 2006


On Wed, Mar 29, 2006 at 01:43:39PM +0200, Aurelien Jacobs wrote:
> On Wed, 29 Mar 2006 09:58:35 +0200
> "Emanuele Giaquinta" <emanuele.giaquinta at gmail.com> wrote:
> 
> > I have this test in my local repo, tested on ppc and x86.
> 
> That can't work.
> Imagine that I build mplayer as user foo which don't have read perm
> on /dev/rtc, and then I run mplayer as user bar which is allowed
> to read /dev/rtc...
> There are gazillion of other examples: booting a different kernel
> w/rtc, using the binary on another machine, cross compiling...
> 
> Detecting wether rtc is functionnal do not belong to compile time.
> It belongs to runtime !

I'm thinking now that adding something like

  ppc && _rtc=no

just before the RTC check is the best solution.

Diego




More information about the MPlayer-dev-eng mailing list