diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1997-11-29 00:35:30 -0800 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-12-10 10:41:25 +0000 |
commit | ce637636a41b2fef0be4daa6d9d27b84e0907a74 (patch) | |
tree | 9042d85dec63727158133a0f99357eb7ed498d53 /hints/aix.sh | |
parent | c4826df72d2d8ad93e7363e4709fc5003146a3cb (diff) | |
download | perl-ce637636a41b2fef0be4daa6d9d27b84e0907a74.tar.gz |
Patches for IRIX, AIX and some generic stuff:
Subject: [PATCH] _55: Mostly AIX stuff but also IRIX and generic
(checked/ignored a few rejects; tweaked wording).
p4raw-id: //depot/perl@354
Diffstat (limited to 'hints/aix.sh')
-rw-r--r-- | hints/aix.sh | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/hints/aix.sh b/hints/aix.sh index 41706ac3a6..569a292870 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -84,24 +84,19 @@ if [ "X$usethreads" != "X" ]; then xlc_r | cc_r) ;; cc | '') - cc=xlc_r + cc=xlc_r # Let us be stricter. ;; *) - case "$cc" in - gcc) - echo >&4 "You cannot use POSIX threads from GNU cc in AIX." - ;; - *) - echo >&4 "Unknown C compiler." - ;; - esac - echo >&4 "You should use the AIX C compilers called xlc_r or cc_r." - echo >&4 "Cannot continue, aborting." + cat >&4 <<EOM +Unknown C compiler '$cc'. +For pthreads you should use the AIX C compilers xlc_r or cc_r. +Cannot continue, aborting. +EOM exit 1 ;; esac - # Add the POSIX threads library and use the re-entrant libc. + # Add the POSIX threads library and the re-entrant libc. - lddlflags=`echo $lddlflags | sed 's/ -lc$/ -lpthreads -lc_r/'` + lddlflags=`echo $lddlflags | sed 's/ -lc$/ -lpthreads -lc_r -lc/'` fi |