2003-10-09 05:20:34 +02:00
|
|
|
if test "$GCC" != yes ; then
|
2000-10-10 23:22:29 +02:00
|
|
|
CC="$CC -Xa" # relaxed ISO C mode
|
2003-10-25 17:32:11 +02:00
|
|
|
CFLAGS="-O -v" # -v is like gcc -Wall
|
2000-07-15 17:54:52 +02:00
|
|
|
fi
|
2003-09-13 16:49:51 +02:00
|
|
|
|
2003-12-23 19:40:53 +01:00
|
|
|
# Pick right test-and-set (TAS) code.
|
|
|
|
case $host in
|
|
|
|
sparc-*-solaris*) need_tas=yes; tas_file=solaris_sparc.s ;;
|
|
|
|
i?86-*-solaris*) need_tas=yes; tas_file=solaris_i386.s ;;
|
|
|
|
esac
|
|
|
|
|
2003-09-27 18:24:45 +02:00
|
|
|
THREAD_SUPPORT=yes
|
2003-09-13 16:49:51 +02:00
|
|
|
NEED_REENTRANT_FUNCS=yes # 5.6 2003-09-13
|
2003-09-27 17:32:48 +02:00
|
|
|
THREAD_LIBS="-pthread"
|
2003-12-31 00:13:51 +01:00
|
|
|
if test "$GCC" != yes
|
|
|
|
then THREAD_LIBS="-mt $THREAD_LIBS"
|
|
|
|
fi
|
|
|
|
|