mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 10:52:56 +01:00
Fixes build on Linux using Sun Studio compiler
Signed-off-by: Mikko Koppanen <mkoppanen@php.net>
This commit is contained in:
parent
e33e4d7650
commit
e288f7a347
@ -88,8 +88,10 @@ CPPFLAGS="-D_REENTRANT -D_THREAD_SAFE $CPPFLAGS"
|
||||
# OS-specific tests
|
||||
case "${host_os}" in
|
||||
*linux*)
|
||||
# Define on Linux to enable all library features
|
||||
CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS"
|
||||
# Define on Linux to enable all library features. Define if using a gnu compiler
|
||||
if test "x$gnu_compilers" = "xyes"; then
|
||||
CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS"
|
||||
fi
|
||||
AC_DEFINE(ZMQ_HAVE_LINUX, 1, [Have Linux OS])
|
||||
AC_CHECK_LIB(rt, main)
|
||||
AC_CHECK_LIB(uuid, main, ,
|
||||
|
Loading…
Reference in New Issue
Block a user