Add libscheck for IRIX.
authorJarkko Hietaniemi <jhi@iki.fi>
Sat, 26 Feb 2000 04:14:15 +0000 (04:14 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 26 Feb 2000 04:14:15 +0000 (04:14 +0000)
p4raw-id: //depot/cfgperl@5264

hints/irix_6.sh

index b512609..461ad66 100644 (file)
@@ -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
+
+