[PATCH] Enable configuration of the MONOTONIC_CLOCK when cross-compiling.
Adam Jackson
ajax at nwnk.net
Wed May 19 08:47:08 PDT 2010
On Tue, 2010-05-18 at 15:17 -0700, David James wrote:
> When xorg-xserver is being cross-compiled, there is currently no way
> for us to detect whether the monotonic clock is available on the
> target system. Currently, in this situation, we default to not use the
> monotonic clock. One problem with this situation is that the user will
> be treated as idle when the date is updated.
>
> To fix this situation, this patch creates a new variable called
> xorg_cv_MONOTONIC_CLOCK. If packagers who cross-compile setup this
> variable appropriately, then we can enable usage of the
> MONOTONIC_CLOCK when cross-compiling.
This requires editing the configure cache? That's a little non-obvious.
I think the liboil-style compile check is probably fine.
- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100519/ad9a3a9d/attachment.pgp>
More information about the xorg-devel
mailing list