Tru64 V5.0 patches from Spider Boardman.
Jarkko Hietaniemi [Tue, 22 Feb 2000 14:31:21 +0000 (14:31 +0000)]
p4raw-id: //depot/cfgperl@5200

hints/dec_osf.sh

index 5eb7e80..e5970ff 100644 (file)
@@ -151,7 +151,7 @@ case "`uname -r`" in
 *)            if $test "X$optimize" = "X$undef"; then
                       lddlflags="$lddlflags -msym"
               else
-                 case "`sizer -v`" in
+                 case "`/usr/sbin/sizer -v`" in
                  *4.0D*)
                      # QAR 56761: -O4 + .so may produce broken code,
                      # fixed in 4.0E or better.
@@ -162,7 +162,7 @@ case "`uname -r`" in
                  esac
                  # -msym: If using a sufficiently recent /sbin/loader,
                  # keep the module symbols with the modules.
-                  lddlflags="$lddlflags -msym"
+                  lddlflags="$lddlflags -msym -std"
               fi
                ;;
 esac
@@ -202,7 +202,16 @@ esac
 # please adjust this appropriately.  See also pp_sys.c just before the
 # emulate_eaccess().
 
+# Fixed in V5.0A.
+case "`/usr/sbin/sizer -v`" in
+*5.0[A-Z]*|*[6-9].[0-9]*)
+       : ok
+       ;;
+*)
+# V5.0 or previous
 pp_sys_cflags='ccflags="$ccflags -DNO_EFF_ONLY_OK"'
+       ;;
+esac
 
 # The off_t is already 8 bytes, so we do have largefileness.
 
@@ -225,7 +234,11 @@ $define|true|[yY]*)
        *)        libswanted="$libswanted pthread exc" ;;
        esac
 
-        usemymalloc='n'
+       case "$usemymalloc" in
+       '')
+               usemymalloc='n'
+               ;;
+       esac
        ;;
 esac
 EOCBU