This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update podlators to CPAN version 4.10
[perl5.git] / hints / irix_4.sh
CommitLineData
16d20bd9
AD
1#irix_4.sh
2# Last modified Fri May 5 14:06:37 EDT 1995
a0d0e21e 3optimize='-O1'
16d20bd9
AD
4
5# Does Configure really get these wrong? Why?
a0d0e21e 6d_voidsig=define
a0d0e21e 7d_charsprf=undef
16d20bd9
AD
8
9case "$cc" in
180c3c44 10*gcc*) ccflags="$ccflags -D_BSD_TYPES" ;;
16d20bd9
AD
11*) ccflags="$ccflags -ansiposix -signed" ;;
12esac
13
1aef975c
AD
14# This hint due thanks Hershel Walters <walters@smd4d.wes.army.mil>
15# Date: Tue, 31 Jan 1995 16:32:53 -0600 (CST)
16# Subject: IRIX4.0.4(.5? 5.0?) problems
17# I don't know if they affect versions of perl other than 5.000 or
18# versions of IRIX other than 4.0.4.
19#
68dc0745 20cat <<'EOM' >&4
1aef975c 21If you have problems, you might have try including
b78ed007 22 -cckr
1aef975c
AD
23in ccflags.
24EOM
104d25b7
JH
25
26case "$usethreads" in
27$define|true|[yY]*)
28 cat >&4 <<EOM
29IRIX `uname -r` does not support POSIX threads.
30You should upgrade to at least IRIX 6.2 with pthread patches.
31EOM
32 exit 1
33 ;;
34esac
35
10cc9d2a
JH
36case " $use64bits $use64bitint $use64bitall " in
37*" $define "*|*" true "*|*" [yY] "*)
104d25b7
JH
38 cat >&4 <<EOM
39IRIX `uname -r` does not support 64-bit types.
40You should upgrade to at least IRIX 6.2.
41Cannot continue, aborting.
42EOM
43 exit 1
44esac
45