Better NetInfo behaviour.
[p5sagit/p5-mst-13.2.git] / hints / dec_osf.sh
index a1efc11..971dd89 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,18 @@ 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
+
+# The EFF_ONLY_OK from <sys/access.h> is present but dysfunctional for
+# [RWX]_OK as of Digital UNIX 4.0[A-D]?.  If and when this gets fixed,
+# please adjust this appropriately.  See also pp_sys.c just before the
+# emulate_eaccess().
+
+pp_sys_cflags='ccflags="$ccflags -DNO_EFF_ONLY_OK"'
 
 #
 # Unset temporary variables no more needed.
@@ -210,11 +219,17 @@ unset _DEC_uname_r
 #
 # History:
 #
+# perl5.005_51:
+#
+#      September-1998 Jarkko Hietaniemi <jhi@iki.fi>
+#
+#      * Added the -DNO_EFF_ONLY_OK flag ('use filetest;' support).
+#
 # perl5.004_57:
 #
 #      19-Dec-1997 Spider Boardman <spider@Orb.Nashua.NH.US>
 #
-#      * Newer Digial UNIX compilers enforce signaling for NaN without
+#      * Newer Digital UNIX compilers enforce signaling for NaN without
 #        -ieee.  Added -fprm d at the same time since it's friendlier for
 #        embedding.
 #