summaryrefslogtreecommitdiff
path: root/hints/aix.sh
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2003-04-01 19:18:57 +0200
committerH.Merijn Brand <h.m.brand@xs4all.nl>2003-04-01 14:12:33 +0000
commitd002699eadfced2538773fac7c19592455e9d630 (patch)
treef714f90bf38b277f5bc51b04370cf76bdfc6ad6d /hints/aix.sh
parent9592224d5b25cc9ac6ef57622129f836a2753fc2 (diff)
downloadperl-d002699eadfced2538773fac7c19592455e9d630.tar.gz
Implemented AIX longdouble support in hints/aix.sh, which now
actually work. Thanks to John L. Allen for the hint. Subject: Re: AIX longdoubles From: "H.Merijn Brand" <h.m.brand@hccnet.nl> Message-Id: <20030401171819.D8E6.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@19113
Diffstat (limited to 'hints/aix.sh')
-rw-r--r--hints/aix.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/hints/aix.sh b/hints/aix.sh
index 7dffde24a7..68826d4919 100644
--- a/hints/aix.sh
+++ b/hints/aix.sh
@@ -209,6 +209,24 @@ esac
# the required -bE:$installarchlib/CORE/perl.exp is added by
# libperl.U (Configure) later.
+case "$use64bitall" in
+ $define|true|[yY]*) use64bitint="$define" ;;
+ esac
+
+case "$usemorebits" in
+ $define|true|[yY]*) use64bitint="$define"; uselongdouble="$define" ;;
+ esac
+
+case $cc_type in
+ vac|xlc)
+ case "$uselongdouble" in
+ $define|true|[yY]*)
+ ccflags="$ccflags -qlongdouble"
+ libswanted="c128 $libswanted"
+ ;;
+ esac
+ esac
+
case "$cc" in
*gcc*) ;;
cc*|xlc*) # cc should've been set by line 116 or so if empty.