Re: [ID 20001013.008] perl 5.6.0 on AIX w/GCC
H.Merijn Brand [Wed, 18 Oct 2000 13:12:01 +0000 (15:12 +0200)]
Message-Id: <20001018131021.F844.H.M.BRAND@hccnet.nl>

p4raw-id: //depot/perl@7368

hints/aix.sh

index cf1270d..cf7e43c 100644 (file)
@@ -380,7 +380,10 @@ cat > UU/uselongdouble.cbu <<'EOCBU'
 # after it has prompted the user for whether to use long doubles.
 case "$uselongdouble" in
 $define|true|[yY]*)
-       ccflags="$ccflags -qlongdouble"
+        case "$cc" in
+        *gcc*) ;;
+        *) ccflags="$ccflags -qlongdouble" ;;
+        esac
        # The explicit cc128, xlc128, xlC128 are not needed,
        # the -qlongdouble should do the trick. --jhi
        d_Gconvert='sprintf((b),"%.*llg",(n),(x))'