Added -D_POSIX_PTHREAD_SEMANTICS for solaris.

This commit is contained in:
crs 2002-11-05 19:43:37 +00:00
parent 52d8edb747
commit 48fc3c77c8
1 changed files with 3 additions and 2 deletions

View File

@ -360,7 +360,8 @@ if test "x$acx_pthread_ok" = xyes; then
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