This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: 5.005_03 and gcc, GNU ld under Solaris 2.6
[perl5.git] / hints / ultrix_4.sh
index d3c4a39..f418ea1 100644 (file)
@@ -22,7 +22,7 @@ esac
 # Then run "sh5 Configure.sh5 [your options]"
 
 case "$myuname" in
-*risc*) cat <<EOF
+*risc*) cat <<EOF >&4
 Note that there is a bug in some versions of NFS on the DECStation that
 may cause utime() to work incorrectly.  If so, regression test io/fs
 may fail if run under NFS.  Ignore the failure.
@@ -34,16 +34,16 @@ case "$cc" in
 *gcc*) ;;
 *)
     case "$osvers" in
-    *4.1*)     ccflags="$ccflags -DLANGUAGE_C -Olimit 3200" ;;
-    *4.2*)     ccflags="$ccflags -DLANGUAGE_C -Olimit 3200"
+    *4.1*)     ccflags="$ccflags -DLANGUAGE_C -Olimit 3800" ;;
+    *4.2*)     ccflags="$ccflags -DLANGUAGE_C -Olimit 3800"
                # Prototypes sometimes cause compilation errors in 4.2.
                prototype=undef   
                case "$myuname" in
                *risc*)  d_volatile=undef ;;
                esac
                ;;
-    *4.3*)     ccflags="$ccflags -std1 -DLANGUAGE_C -Olimit 3200" ;;
-    *) ccflags="$ccflags -std -Olimit 3200" ;;
+    *4.3*)     ccflags="$ccflags -std1 -DLANGUAGE_C -Olimit 3800" ;;
+    *) ccflags="$ccflags -std -Olimit 3800" ;;
     esac
     ;;
 esac
@@ -64,3 +64,7 @@ groupstype='int'
 # configure test should be beefed up to try using the field when
 # it can't find any of the standardly-named fields.
 d_dirnamlen='define'
+
+# Ultrix can mmap only character devices, not regular files,
+# which is rather useless state of things for Perl.
+d_mmap='undef'