summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1997-11-24 16:49:52 -0800
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-11-25 14:29:10 +0000
commit0a5d5e8be390bda2f9b7684490082d428228d28f (patch)
treeb8c697214e473a1266b9dea44e2e6a39042a54a3
parent224a4551e7f27de6b7a1345be75f3d54c3df10a8 (diff)
downloadperl-0a5d5e8be390bda2f9b7684490082d428228d28f.tar.gz
AIX patch for hints/aix.sh:
Subject: Re: _54 on AIX p4raw-id: //depot/perl@294
-rw-r--r--hints/aix.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/hints/aix.sh b/hints/aix.sh
index 8869a23c5c..41706ac3a6 100644
--- a/hints/aix.sh
+++ b/hints/aix.sh
@@ -78,10 +78,10 @@ lddlflags='-H512 -T512 -bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).
esac
if [ "X$usethreads" != "X" ]; then
- ccflags="-DUSE_THREADS $ccflags"
- cppflags="-DUSE_THREADS $cppflags"
+ ccflags="-DUSE_THREADS -DNEED_PTHREAD_INIT $ccflags"
+ cppflags="-DUSE_THREADS -DNEED_PTHREAD_INIT $cppflags"
case "$cc" in
- xlc_r)
+ xlc_r | cc_r)
;;
cc | '')
cc=xlc_r
@@ -95,7 +95,7 @@ if [ "X$usethreads" != "X" ]; then
echo >&4 "Unknown C compiler."
;;
esac
- echo >&4 "You should use the AIX C compiler called xlc_r."
+ echo >&4 "You should use the AIX C compilers called xlc_r or cc_r."
echo >&4 "Cannot continue, aborting."
exit 1
;;