Commit | Line | Data |
f4cb4c40 |
1 | # hints/ultrix_4.sh |
2 | # Last updated by Andy Dougherty <doughera@lafcol.lafayette.edu> |
fed7345c |
3 | # Fri Feb 10 10:04:51 EST 1995 |
4 | # |
5 | # Use Configure -Dcc=gcc to use gcc. |
f4cb4c40 |
6 | # |
7 | # I don't know if -g is really needed. (AD) |
8 | case "$optimize" in |
9 | '') optimize=-g ;; |
10 | esac |
fed7345c |
11 | |
4633a7c4 |
12 | # Some users have reported Configure runs *much* faster if you |
13 | # replace all occurences of /bin/sh by /bin/sh5 |
14 | # Something like: |
15 | # sed 's!/bin/sh!/bin/sh5!g' Configure > Configure.sh5 |
16 | # Then run "sh5 Configure.sh5 [your options]" |
17 | |
f4cb4c40 |
18 | case "$myuname" in |
19 | *risc*) cat <<EOF |
d48672a2 |
20 | Note that there is a bug in some versions of NFS on the DECStation that |
21 | may cause utime() to work incorrectly. If so, regression test io/fs |
22 | may fail if run under NFS. Ignore the failure. |
23 | EOF |
fed7345c |
24 | esac |
25 | |
26 | # Compiler flags that depend on osversion: |
27 | case "$cc" in |
28 | *gcc*) ;; |
29 | *) |
f4cb4c40 |
30 | case "$osvers" in |
fed7345c |
31 | *4.1*) ccflags="$ccflags -DLANGUAGE_C -Olimit 2900" ;; |
32 | *4.2*) ccflags="$ccflags -DLANGUAGE_C -Olimit 2900" |
8e07c86e |
33 | # Prototypes sometimes cause compilation errors in 4.2. |
34 | prototype=undef |
fed7345c |
35 | case "$myuname" in |
36 | *risc*) d_volatile=undef ;; |
37 | esac |
38 | ;; |
39 | *4.3*) ccflags="$ccflags -std1 -DLANGUAGE_C -Olimit 2900" ;; |
40 | *) ccflags="$ccflags -std -Olimit 2900" ;; |
de3bb511 |
41 | esac |
f4cb4c40 |
42 | ;; |
d48672a2 |
43 | esac |
fed7345c |
44 | |
45 | # Other settings that depend on $osvers: |
f4cb4c40 |
46 | case "$osvers" in |
fed7345c |
47 | *4.1*) ;; |
48 | *4.2*) libswanted=`echo $libswanted | sed 's/ malloc / /'` ;; |
49 | *4.3*) ;; |
50 | *) ranlib='ranlib' ;; |
d48672a2 |
51 | esac |
fed7345c |
52 | |
a0d0e21e |
53 | groupstype='int' |