[PATCH] make: test for mq_getattr rather than clock_gettime

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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@xxxxxxxxxxxxxxx>
 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])
-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)

To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Linux DVB]     [Video Technology]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Devices]     [Fedora Women]     [ALSA Devel]     [Linux USB]

Add to Google Powered by Linux