rt library required on all platforms

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
Martin Sustrik 2011-12-03 13:25:44 +01:00
parent aaac96d94a
commit 0df86c41b5

View File

@ -64,6 +64,7 @@ LIBZMQ_WITH_GCOV
# Checks for libraries.
AC_CHECK_LIB([pthread], [pthread_create])
AC_CHECK_LIB([rt], [clock_gettime])
# Set pedantic
libzmq_pedantic="yes"
@ -91,7 +92,6 @@ case "${host_os}" in
CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS"
fi
AC_DEFINE(ZMQ_HAVE_LINUX, 1, [Have Linux OS])
AC_CHECK_LIB(rt, clock_gettime)
case "${host_os}" in
*android*)