From mboxrd@z Thu Jan 1 00:00:00 1970 From: Natanael Copa Date: Tue, 14 Feb 2012 09:20:12 +0000 Subject: [PATCH] make: test for mq_getattr rather than clock_gettime Message-Id: <1329211212-8249-1-git-send-email-ncopa@alpinelinux.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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 --- 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