integrate cfgperl changes into mainline
[p5sagit/p5-mst-13.2.git] / hints / aix.sh
index a22ca82..d6f3dd7 100644 (file)
@@ -201,9 +201,9 @@ EOM
 esac
 EOCBU
 
-# This script UU/uselfs.cbu will get 'called-back' by Configure 
+# This script UU/uselargefiles.cbu will get 'called-back' by Configure 
 # after it has prompted the user for whether to use large files.
-cat > UU/uselfs.cbu <<'EOCBU'
+cat > UU/uselargefiles.cbu <<'EOCBU'
 case "$uselargefiles" in
 ''|$define|true|[yY]*)
        lfcflags="`getconf XBS5_ILP32_OFFBIG_CFLAGS 2>/dev/null`"
@@ -311,14 +311,15 @@ EOM
            # do any harm, I didn't pursue it. -- sh
            lfldflags="`echo $lfldflags`"
            lflibs="`getconf XBS5_LP64_OFF64_LIBS 2>/dev/null|sed -e 's@^-l@@' -e 's@ -l@ @g`"
-           # -q32 and -b32 may have been set by uselfs or user.  Remove them.
+           # -q32 and -b32 may have been set by uselargefiles or user.
+           # Remove them.
            ccflags="`echo $ccflags | sed -e 's@-q32@@'`"
            ldflags="`echo $ldflags | sed -e 's@-b32@@'`"
            # Tell archiver to use large format.  Unless we remove 'ar'
            # from 'trylist', the Configure script will just reset it to 'ar'
            # immediately prior to writing config.sh.  This took me hours
            # to figure out.
-           trylist="`echo $trylist | sed -e 's@^ar @@' -e 's@ ar @@g' -e 's@ ar$@@'`"
+           trylist="`echo $trylist | sed -e 's@^ar @@' -e 's@ ar @ @g' -e 's@ ar$@@'`"
            ar="ar -X64"
            nm_opt="-X64 $nm_opt"
            # Note: Placing the 'lfcflags' variable into the 'ldflags' string
@@ -359,6 +360,7 @@ $define|true|[yY]*)
        ccflags="$ccflags -qlongdouble"
        # The explicit cc128, xlc128, xlC128 are not needed,
        # the -qlongdouble should do the trick. --jhi
+       d_Gconvert='sprintf((b),"%.*llg",(n),(x))'
        ;;
 esac
 EOCBU