summaryrefslogtreecommitdiff
path: root/hints/irix_4.sh
blob: 26c29488c74f68973fa8842b9d4b75092918524d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#irix_4.sh
# Last modified Fri May  5 14:06:37 EDT 1995
optimize='-O1'

# Does Configure really get these wrong? Why?
d_voidsig=define
d_charsprf=undef

case "$cc" in
*gcc*) ccflags="$ccflags -D_BSD_TYPES" ;;
*) ccflags="$ccflags -ansiposix -signed" ;;
esac

# This hint due thanks Hershel Walters <walters@smd4d.wes.army.mil>
# Date: Tue, 31 Jan 1995 16:32:53 -0600 (CST)
# Subject: IRIX4.0.4(.5? 5.0?) problems
# I don't know if they affect versions of perl other than 5.000 or
# versions of IRIX other than 4.0.4.
#
cat <<'EOM' >&4
If you have problems, you might have try including
	-cckr
in ccflags.
EOM

case "$usethreads" in
$define|true|[yY]*)
        cat >&4 <<EOM
IRIX `uname -r` does not support POSIX threads.
You should upgrade to at least IRIX 6.2 with pthread patches.
EOM
	exit 1
	;;
esac

case " $use64bits $use64bitint $use64bitall " in
*" $define "*|*" true "*|*" [yY] "*)
	cat >&4 <<EOM
IRIX `uname -r` does not support 64-bit types.
You should upgrade to at least IRIX 6.2.
Cannot continue, aborting.
EOM
	exit 1
esac