X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Faix.sh;h=d6f3dd78e0f05fb339beacb395aa4bd352de2686;hb=65f190625df5c430dbe5dc68ccef865b33839973;hp=a22ca82a66f8333eea850bebe333e7f25c2649c9;hpb=de6124c856e6fc34c48856ef1aa5a4c3d045ad5f;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/aix.sh b/hints/aix.sh index a22ca82..d6f3dd7 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -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