summaryrefslogtreecommitdiff
path: root/hints/irix_6_0.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/irix_6_0.sh')
-rw-r--r--hints/irix_6_0.sh25
1 files changed, 19 insertions, 6 deletions
diff --git a/hints/irix_6_0.sh b/hints/irix_6_0.sh
index b0a39943bd..b34b3ecaff 100644
--- a/hints/irix_6_0.sh
+++ b/hints/irix_6_0.sh
@@ -42,10 +42,23 @@ libswanted="$*"
# shift
# libswanted="$*"
-if [ "X$usethreads" = "X$define" ]; then
- echo >&4 "IRIX 6.0 does not have POSIX threads."
- echo >&4 "You should upgrade to at least IRIX 6.3."
- echo >&4 "Cannot continue, aborting."
- exit 1
-fi
+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" 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