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