X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Firix_6.sh;h=6f4ca17881f686647a203cc99db6c012f094d4e2;hb=7b57b0ead8ab6b3f08be8b4ded2364d260db25a1;hp=32335a0bb8bb699b4c1026c319583e1b28fe157c;hpb=22d4bb9ccb8701e68f9243547d7e3a3c55f70908;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/irix_6.sh b/hints/irix_6.sh index 32335a0..6f4ca17 100644 --- a/hints/irix_6.sh +++ b/hints/irix_6.sh @@ -117,7 +117,7 @@ esac' libc='/usr/lib32/libc.so' plibpth='/usr/lib32 /lib32 /usr/ccs/lib' ;; -*"cc -64") +*"cc -64"*) loclibpth="$loclibpth /usr/lib64" libscheck='case "`/usr/bin/file $xxx`" in @@ -162,7 +162,7 @@ esac # Settings common to both native compiler modes. case "$cc" in -*"cc -n32"|*"cc -64") +*"cc -n32"*|*"cc -64"*) ld=$cc # perl's malloc can return improperly aligned buffer @@ -334,3 +334,15 @@ EOCBU # The -n32 makes off_t to be 8 bytes, so we should have largefileness. +# Until we figure out what to be probe for in Configure (ditto for hpux.sh) +case "$usemorebits" in # Need to expand this now, then. +$define|true|[yY]*) use64bitint="$define"; uselongdouble="$define" ;; +esac +case "$use64bitint" in +$define|true|[yY]*) ;; +*) d_casti32='undef' ;; +esac + +# Helmut Jarausch reports that Perl's malloc is rather unusable +# with IRIX, and SGI confirms the problem. +usemymalloc=${usemymalloc:-false}