adjust searchdict.t for EBCDIC (still needs documenting)
[p5sagit/p5-mst-13.2.git] / hints / dec_osf.sh
index 2e8ffac..a531ea8 100644 (file)
@@ -121,11 +121,8 @@ esac
 # 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 / /'`"
@@ -180,14 +177,14 @@ case "$optimize" in
        ;;
 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'