From: H.Merijn Brand Date: Tue, 1 Apr 2003 17:18:57 +0000 (+0200) Subject: Implemented AIX longdouble support in hints/aix.sh, which now X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d002699eadfced2538773fac7c19592455e9d630;p=p5sagit%2Fp5-mst-13.2.git 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" Message-Id: <20030401171819.D8E6.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@19113 --- diff --git a/hints/aix.sh b/hints/aix.sh index 7dffde2..68826d4 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.