mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-31 14:39:55 +01:00
rt library required on all platforms
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
parent
aaac96d94a
commit
0df86c41b5
@ -64,6 +64,7 @@ LIBZMQ_WITH_GCOV
|
|||||||
|
|
||||||
# Checks for libraries.
|
# Checks for libraries.
|
||||||
AC_CHECK_LIB([pthread], [pthread_create])
|
AC_CHECK_LIB([pthread], [pthread_create])
|
||||||
|
AC_CHECK_LIB([rt], [clock_gettime])
|
||||||
|
|
||||||
# Set pedantic
|
# Set pedantic
|
||||||
libzmq_pedantic="yes"
|
libzmq_pedantic="yes"
|
||||||
@ -91,7 +92,6 @@ case "${host_os}" in
|
|||||||
CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS"
|
CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS"
|
||||||
fi
|
fi
|
||||||
AC_DEFINE(ZMQ_HAVE_LINUX, 1, [Have Linux OS])
|
AC_DEFINE(ZMQ_HAVE_LINUX, 1, [Have Linux OS])
|
||||||
AC_CHECK_LIB(rt, clock_gettime)
|
|
||||||
|
|
||||||
case "${host_os}" in
|
case "${host_os}" in
|
||||||
*android*)
|
*android*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user