All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: xen-devel@lists.xen.org
Subject: Re: [PATCH] qemu-traditional: update configure check for -lrt changes in glibc 2.17
Date: Mon, 29 Apr 2013 15:40:13 +0200	[thread overview]
Message-ID: <20130429134013.GA29658@aepfle.de> (raw)
In-Reply-To: <20130116154730.GA22799@aepfle.de>

Ping

On Wed, Jan 16, Olaf Hering wrote:

> Ping
> 
> On Wed, Dec 05, Olaf Hering wrote:
> 
> > configure uses clock_gettime to check whether -lrt is needed - and don't
> > check other functions. With glibc 2.17 clock_gettime is part of libc, so
> > use timer_gettime instead, which is in -lrt in old and new versions of
> > glibc.
> > 
> > Signed-off-by: Olaf Hering <olaf@aepfle.de>
> > ---
> >  configure | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/configure b/configure
> > index 904e019..ace3c3e 100755
> > --- a/configure
> > +++ b/configure
> > @@ -1097,7 +1097,7 @@ fi
> >  cat > $TMPC <<EOF
> >  #include <signal.h>
> >  #include <time.h>
> > -int main(void) { clockid_t id; return clock_gettime(id, NULL); }
> > +int main(void) { struct itimerspec v; timer_t t; return timer_gettime (t, &v); }
> >  EOF
> >  
> >  rt=no

  reply	other threads:[~2013-04-29 13:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-05 18:41 [PATCH] qemu-traditional: update configure check for -lrt changes in glibc 2.17 Olaf Hering
2013-01-16 15:47 ` Olaf Hering
2013-04-29 13:40   ` Olaf Hering [this message]
2013-05-01 16:21     ` Matt Wilson
  -- strict thread matches above, loose matches on Subject: below --
2013-05-07 15:41 Eric Shelton
2013-05-08  9:43 ` George Dunlap
2013-05-08 10:31   ` Ian Campbell
2013-05-21 14:00   ` Ian Jackson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130429134013.GA29658@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.