From: Natanael Copa <ncopa@alpinelinux.org>
To: linux-hotplug@vger.kernel.org
Subject: [PATCH] make: test for mq_getattr rather than clock_gettime
Date: Tue, 14 Feb 2012 09:20:12 +0000 [thread overview]
Message-ID: <1329211212-8249-1-git-send-email-ncopa@alpinelinux.org> (raw)
Some systems (like uClibc) has 2 versions of clock_gettime and will
use a lighter version when linked without -lrt. Therefore we test for
mq_getattr instead of clock_gettime.
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
---
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index a88a34c..382e9c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,7 +21,7 @@ AC_PREFIX_DEFAULT([/usr])
AC_PATH_PROG([XSLTPROC], [xsltproc])
AM_CONDITIONAL(HAVE_XSLTPROC, test x"$XSLTPROC" != x)
-AC_SEARCH_LIBS([clock_gettime], [rt], [], [AC_MSG_ERROR([POSIX RT library not found])])
+AC_SEARCH_LIBS([mq_getattr], [rt], [], [AC_MSG_ERROR([POSIX RT library not found])])
PKG_CHECK_MODULES(BLKID, blkid >= 2.20)
--
1.7.9
reply other threads:[~2012-02-14 9:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1329211212-8249-1-git-send-email-ncopa@alpinelinux.org \
--to=ncopa@alpinelinux.org \
--cc=linux-hotplug@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox