From: Jarkko Hietaniemi Date: Sat, 26 Feb 2000 04:14:15 +0000 (+0000) Subject: Add libscheck for IRIX. X-Git-Tag: accepted/trunk/20130322.191538~34817^2~319 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e553f519dfd5c86896bb6ab836c1c352c02f5f4;p=platform%2Fupstream%2Fperl.git Add libscheck for IRIX. p4raw-id: //depot/cfgperl@5264 --- diff --git a/hints/irix_6.sh b/hints/irix_6.sh index b512609..461ad66 100644 --- a/hints/irix_6.sh +++ b/hints/irix_6.sh @@ -47,6 +47,11 @@ esac case "$cc" in *"cc -n32"*) + libscheck='case "`file $xxx`" in +*N32*) ;; +*) xxx=/no/n32$xxx ;; +esac' + # Perl 5.004_57 introduced new qsort code into pp_ctl.c that # makes IRIX cc prior to 7.2.1 to emit bad code. # so some serious hackery follows to set pp_ctl flags correctly. @@ -251,3 +256,22 @@ EOM ;; esac EOCBU + +# This script UU/use64bitall.cbu will get 'called-back' by Configure +# after it has prompted the user for whether to use 64 bits. +cat > UU/use64bitall.cbu <<'EOCBU' +case "$use64bitall" in +$define|true|[yY]*) + ccflags="`echo $ccflags|sed -e 's%-n32%%'` -64" + ldflags="`echo $ldflags|sed -e 's%-n32%%'` -64" + lddlflags="`echo $ldfdllags|sed -e 's%-n32%%'` -64" + loclibpth="$loclibpth /usr/lib64" + libscheck='case "`file $xxx`" in +*64-bit*) ;; +*) xxx=/no/64-bit$xxx ;; +esac' + ;; +esac +EOCBU + +