From: Bruce Momjian Date: Thu, 25 Mar 2004 22:13:44 +0000 (+0000) Subject: Update solaris for threading. X-Git-Tag: REL7_4_3~56 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=52e33bab6f1d201f3d516732e40978f15773fff9;p=thirdparty%2Fpostgresql.git Update solaris for threading. --- diff --git a/src/template/solaris b/src/template/solaris index fd324021446..1487149fd07 100644 --- a/src/template/solaris +++ b/src/template/solaris @@ -11,9 +11,8 @@ esac THREAD_SUPPORT=yes NEED_REENTRANT_FUNCS=yes # 5.6 2003-09-13 -if test "$GCC" = yes -then THREAD_CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS" - THREAD_LIBS="-pthread" -else THREAD_CPPFLAGS="-mt -D_POSIX_PTHREAD_SEMANTICS" - THREAD_LIBS="-lpthread" +THREAD_CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS" +if test "$GCC" != yes +then THREAD_CPPFLAGS="$THREAD_CPPFLAGS -mt" fi +THREAD_LIBS="-lpthread"