Added -D_POSIX_PTHREAD_SEMANTICS for solaris.
This commit is contained in:
parent
52d8edb747
commit
48fc3c77c8
|
@ -359,8 +359,9 @@ if test "x$acx_pthread_ok" = xyes; then
|
||||||
AC_MSG_CHECKING([if more special flags are required for pthreads])
|
AC_MSG_CHECKING([if more special flags are required for pthreads])
|
||||||
flag=no
|
flag=no
|
||||||
case "${host_cpu}-${host_os}" in
|
case "${host_cpu}-${host_os}" in
|
||||||
*-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
|
*-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
|
||||||
*solaris* | alpha*-osf*) flag="-D_REENTRANT";;
|
alpha*-osf*) flag="-D_REENTRANT";;
|
||||||
|
*solaris*) flag="-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS";;
|
||||||
esac
|
esac
|
||||||
AC_MSG_RESULT(${flag})
|
AC_MSG_RESULT(${flag})
|
||||||
if test "x$flag" != xno; then
|
if test "x$flag" != xno; then
|
||||||
|
|
Loading…
Reference in New Issue