adjust searchdict.t for EBCDIC (still needs documenting)
[p5sagit/p5-mst-13.2.git] / hints / dec_osf.sh
index a1efc11..a531ea8 100644 (file)
@@ -177,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'
@@ -196,9 +196,11 @@ fi
 # "-Uuseshrplib" prevents this default.
 #
 
-case "$_DEC_cc_style.$useshrplib" in
-       new.)   useshrplib="$define"    ;;
-esac
+# This or the glibpth change above breaks the build. Commented out
+# for this snapshot.
+#case "$_DEC_cc_style.$useshrplib" in
+#      new.)   useshrplib="$define"    ;;
+#esac
 
 #
 # Unset temporary variables no more needed.