[cairo] [PATCH 1/2] Don't unconditionally link against librt

Andrea Canciani ranma42 at gmail.com
Fri Sep 2 04:09:50 PDT 2011


Sorry for not speaking up before.
I've been working on moving the perf time functions to src/ and using it
both in observer and in perf/ in my wip/cairo-time* branches.
In the last few days I've been unable to connect to internet, but today
I managed to rebase on master and check that everything was ok
(as in "builds on liinux, macosx and win32").

I just pushed it to master, but I am unable to test more exotic systems
like OS/2 (which seems to have APIs to access high-resolution counters),
so feedback about them would be appreciated.

Sorry for wasting your time.

Andrea

On Thu, Sep 1, 2011 at 9:07 PM, Dave Yeo <dave.r.yeo at gmail.com> wrote:
> Signed-off-by: Dave Yeo <dave.r.yeo at gmail.com>
> ---
>  configure.ac |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index c7c167e..58f116d 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -622,7 +622,7 @@ dnl ===========================================================================
>
>  CAIRO_ENABLE_SURFACE_BACKEND(mime, mime, always)
>  CAIRO_ENABLE_SURFACE_BACKEND(recording, recording, always)
> -CAIRO_ENABLE_SURFACE_BACKEND(observer, observer, always, observer_LIBS=-lrt)
> +CAIRO_ENABLE_SURFACE_BACKEND(observer, observer, always, observer_LIBS=[CAIROPERF_LIBS])
>  CAIRO_ENABLE_SURFACE_BACKEND(tee, tee, no)
>  CAIRO_ENABLE_SURFACE_BACKEND(xml, xml, no, [
>     use_xml=$have_libz
> --
> 1.7.2.3
> --
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>


More information about the cairo mailing list