Commit 0df86c41 authored by Martin Sustrik's avatar Martin Sustrik

rt library required on all platforms

Signed-off-by: 's avatarMartin Sustrik <sustrik@250bpm.com>
parent aaac96d9
......@@ -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*)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment