diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-02-29 16:31:17 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-02-29 16:31:17 +0000 |
commit | 0d926123d00ab9847c978997a9a5f7c0f5a94a25 (patch) | |
tree | 654cd0f0e446eff98c69ae08a6c12843bd8256a7 /hints/solaris_2.sh | |
parent | 7ead16f557331495a233f07322f93a24ddedfcd1 (diff) | |
download | perl-0d926123d00ab9847c978997a9a5f7c0f5a94a25.tar.gz |
Solaris 64-bitness hints saga continues.
p4raw-id: //depot/cfgperl@5355
Diffstat (limited to 'hints/solaris_2.sh')
-rw-r--r-- | hints/solaris_2.sh | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index 5f4e988b82..c1f207474e 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -377,12 +377,21 @@ case "$use64bitall" in lddlflags="$lddlflags -G -mv9" ;; *) - ccflags="$ccflags `getconf XBS5_LP64_OFF64_CFLAGS`" - ldflags="$ccflags `getconf XBS5_LP64_OFF64_LDFLAGS`" - lddlflags="$lddlflags -G `getconf XBS5_LP64_OFF64_LDFLAGS`" + ccflags="$ccflags `getconf XBS5_LP64_OFF64_CFLAGS 2>/dev/null`" + ldflags="$ccflags `getconf XBS5_LP64_OFF64_LDFLAGS 2>/dev/null`" + lddlflags="$lddlflags -G `getconf XBS5_LP64_OFF64_LDFLAGS 2>/dev/null`" ;; esac libc='/usr/lib/sparcv9/libc.so' + if test ! -f $libc; then + cat <<EOM + +I do not see the 64-bit libc, $libc. +Cannot continue, aborting. + +EOM + exit 1 + fi loclibpth="$loclibpth /usr/lib/sparcv9" libscheck='case "`/usr/bin/file $xxx`" in *64-bit*|*SPARCV9*) ;; @@ -396,7 +405,7 @@ EOCBU # because we need to fix up the library paths right now. case "$use64bitall" in "$define"|true|[yY]*) - . ./use64bitall.cbu + . ./UU/use64bitall.cbu ;; esac |