29 Mar
2006
29 Mar
'06
9:45 p.m.
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@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