summaryrefslogtreecommitdiff
path: root/hints/irix_6.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-02-26 04:14:15 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-02-26 04:14:15 +0000
commit6e553f519dfd5c86896bb6ab836c1c352c02f5f4 (patch)
tree96409504de4fbf51207c331e8919519fae60f2ec /hints/irix_6.sh
parent7b65db701f57a4f8c4d4d2d71abeedf2eb6601ea (diff)
downloadperl-6e553f519dfd5c86896bb6ab836c1c352c02f5f4.tar.gz
Add libscheck for IRIX.
p4raw-id: //depot/cfgperl@5264
Diffstat (limited to 'hints/irix_6.sh')
-rw-r--r--hints/irix_6.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/hints/irix_6.sh b/hints/irix_6.sh
index b512609280..461ad664ac 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
+
+