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

Andrea Canciani <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAN_5=BBW2S6OiyWA0eL21Ymtox+ruK7Z+WqDDsi=RAjnj9NmMQ@mail.gmail.com>
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 <[email protected]> wrote:
> Signed-off-by: Dave Yeo <[email protected]>
> ---
>  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
> [email protected]
> http://lists.cairographics.org/mailman/listinfo/cairo
>
--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.