Update Solaris thread flags, per Jim Seymour

This commit is contained in:
Bruce Momjian 2004-03-14 23:51:57 +00:00
parent 0175b6d101
commit 9c99b3f51e

View File

@ -12,8 +12,8 @@ esac
THREAD_SUPPORT=yes
NEED_REENTRANT_FUNCS=yes # 5.6 2003-09-13
if test "$GCC" = yes
then THREAD_LIBS="-pthread"
else THREAD_CPPFLAGS="-mt"
then THREAD_CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS"
THREAD_LIBS="-pthread"
else THREAD_CPPFLAGS="-mt -D_POSIX_PTHREAD_SEMANTICS"
THREAD_LIBS="-lpthread"
fi