ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/staticperl/perl/hints/ultrix_4.sh
Revision: 1.1
Committed: Thu Jun 30 14:27:07 2005 UTC (21 years, 4 months ago) by root
Content type: application/x-sh
Branch: MAIN
CVS Tags: PERL-5-8-7, HEAD
Branch point for: PERL
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.1 # hints/ultrix_4.sh
2     # Last updated by Andy Dougherty <doughera@lafayette.edu>
3     # Fri Feb 10 10:04:51 EST 1995
4     #
5     # Use Configure -Dcc=gcc to use gcc.
6     #
7     # This used to use -g, but that pulls in -DDEBUGGING by default.
8     case "$optimize" in
9     '')
10     # recent versions have a working compiler.
11     case "$osvers" in
12     *4.[45]*) optimize='-O2' ;;
13     *) optimize='none' ;;
14     esac
15     ;;
16     esac
17    
18     # Some users have reported Configure runs *much* faster if you
19     # replace all occurrences of /bin/sh by /bin/sh5
20     # Something like:
21     # sed 's!/bin/sh!/bin/sh5!g' Configure > Configure.sh5
22     # Then run "sh5 Configure.sh5 [your options]"
23    
24     case "$myuname" in
25     *risc*) cat <<EOF >&4
26     Note that there is a bug in some versions of NFS on the DECStation that
27     may cause utime() to work incorrectly. If so, regression test io/fs
28     may fail if run under NFS. Ignore the failure.
29     EOF
30     esac
31    
32     # Compiler flags that depend on osversion:
33     case "$cc" in
34     *gcc*) ;;
35     *)
36     case "$osvers" in
37     *4.1*) ccflags="$ccflags -DLANGUAGE_C -Olimit 3800" ;;
38     *4.2*) ccflags="$ccflags -DLANGUAGE_C -Olimit 3800"
39     # Prototypes sometimes cause compilation errors in 4.2.
40     prototype=undef
41     case "$myuname" in
42     *risc*) d_volatile=undef ;;
43     esac
44     ;;
45     *4.3*) ccflags="$ccflags -std1 -DLANGUAGE_C -Olimit 3800" ;;
46     *) ccflags="$ccflags -std -Olimit 3800" ;;
47     esac
48     ;;
49     esac
50    
51     # Other settings that depend on $osvers:
52     case "$osvers" in
53     *4.1*) ;;
54     *4.2*) libswanted=`echo $libswanted | sed 's/ malloc / /'` ;;
55     *4.3*) ;;
56     *) ranlib='ranlib' ;;
57     esac
58    
59     # Settings that don't depend on $osvers:
60    
61     util_cflags='ccflags="$ccflags -DLOCALE_ENVIRON_REQUIRED"'
62     groupstype='int'
63     # This will cause a WHOA THERE warning, but it's accurate. The
64     # configure test should be beefed up to try using the field when
65     # it can't find any of the standardly-named fields.
66     d_dirnamlen='define'
67    
68     # Ultrix can mmap only character devices, not regular files,
69     # which is rather useless state of things for Perl.
70     d_mmap='undef'
71    
72     # There simply isn't dynaloading in Ultrix.
73     usedl='undef'
74