aboutsummaryrefslogtreecommitdiff
path: root/src/template/unixware
blob: 8ad4a745d2e87b8e2e2aa4a7cb21ef2cdb0488ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
if test "$GCC" = yes; then
  THREAD_CPPFLAGS="-pthread"
else
# the -Kno_host is temporary for a bug in the compiler.  See -hackers
# discussion on 7-8/Aug/2003.
# when the 7.1.3UP3 or later compiler is out, we can do a version check.
  CFLAGS="$CFLAGS -O -Kinline,no_host"
  THREAD_CPPFLAGS="-K pthread"
fi

THREAD_SUPPORT=yes
NEED_REENTRANT_FUNCS=no		# verified 7.1.3 2003-09-03
THREAD_CPPFLAGS="$THREAD_CPPFLAGS -D_REENTRANT"