# no attempt to figure out the additional location(s) searched by
# gcc, since not all versions of gcc are easily coerced into
# revealing that information.
-#
-# This or the new useshrplib default below breaks the build.
-# Commented out for this snapshot.
-#glibpth="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc"
-#glibpth="$glibpth /usr/lib /usr/local/lib /var/shlib"
+glibpth="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc"
+glibpth="$glibpth /usr/lib /usr/local/lib /var/shlib"
# dlopen() is in libc
libswanted="`echo $libswanted | sed -e 's/ dl / /'`"
;;
esac
-if [ "X$usethreads" != "X" ]; then
+if [ "X$usethreads" = "X$define" ]; then
# Threads interfaces changed with V4.0.
case "$_DEC_uname_r" in
*[123].*) libswanted="$libswanted pthreads mach exc c_r"
- ccflags="-DUSE_THREADS -threads $ccflags"
+ ccflags="-threads $ccflags"
;;
*) libswanted="$libswanted pthread exc"
- ccflags="-DUSE_THREADS -pthread $ccflags"
+ ccflags="-pthread $ccflags"
;;
esac
usemymalloc='n'