| 1 |
root |
1.1 |
#irix_4.sh |
| 2 |
|
|
# Last modified Fri May 5 14:06:37 EDT 1995 |
| 3 |
|
|
optimize='-O1' |
| 4 |
|
|
|
| 5 |
|
|
# Does Configure really get these wrong? Why? |
| 6 |
|
|
d_voidsig=define |
| 7 |
|
|
d_charsprf=undef |
| 8 |
|
|
|
| 9 |
|
|
case "$cc" in |
| 10 |
|
|
*gcc*) ccflags="$ccflags -D_BSD_TYPES" ;; |
| 11 |
|
|
*) ccflags="$ccflags -ansiposix -signed" ;; |
| 12 |
|
|
esac |
| 13 |
|
|
|
| 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 |
|
|
# |
| 20 |
|
|
cat <<'EOM' >&4 |
| 21 |
|
|
If you have problems, you might have try including |
| 22 |
|
|
-DSTANDARD_C -cckr |
| 23 |
|
|
in ccflags. |
| 24 |
|
|
EOM |
| 25 |
|
|
|
| 26 |
|
|
case "$usethreads" in |
| 27 |
|
|
$define|true|[yY]*) |
| 28 |
|
|
cat >&4 <<EOM |
| 29 |
|
|
IRIX `uname -r` does not support POSIX threads. |
| 30 |
|
|
You should upgrade to at least IRIX 6.2 with pthread patches. |
| 31 |
|
|
EOM |
| 32 |
|
|
exit 1 |
| 33 |
|
|
;; |
| 34 |
|
|
esac |
| 35 |
|
|
|
| 36 |
|
|
case " $use64bits $use64bitint $use64bitall " in |
| 37 |
|
|
*" $define "*|*" true "*|*" [yY] "*) |
| 38 |
|
|
cat >&4 <<EOM |
| 39 |
|
|
IRIX `uname -r` does not support 64-bit types. |
| 40 |
|
|
You should upgrade to at least IRIX 6.2. |
| 41 |
|
|
Cannot continue, aborting. |
| 42 |
|
|
EOM |
| 43 |
|
|
exit 1 |
| 44 |
|
|
esac |
| 45 |
|
|
|