Implemented AIX longdouble support in hints/aix.sh, which now
H.Merijn Brand [Tue, 1 Apr 2003 17:18:57 +0000 (19:18 +0200)]
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

hints/aix.sh

index 7dffde2..68826d4 100644 (file)
@@ -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.