summaryrefslogtreecommitdiff
path: root/hints/solaris_2.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-03-03 15:21:40 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-03-03 15:21:40 +0000
commit7e6fa307436d3e019e355ee1012a967957762854 (patch)
treebe63434248cba7728543f649de2080bd93f75f0f /hints/solaris_2.sh
parent792d8dab7fdc7425b9c319731346e511d492fcad (diff)
downloadperl-7e6fa307436d3e019e355ee1012a967957762854.tar.gz
pull the sparcv9 workshop libraries in front of loclibpth
p4raw-id: //depot/cfgperl@5485
Diffstat (limited to 'hints/solaris_2.sh')
-rw-r--r--hints/solaris_2.sh13
1 files changed, 10 insertions, 3 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index 2d6cae9198..e3b9ee02b3 100644
--- a/hints/solaris_2.sh
+++ b/hints/solaris_2.sh
@@ -392,6 +392,13 @@ Cannot continue, aborting.
EOM
exit 1
fi
+ if test -n "$workshoplibs"; then
+ loclibpth=`echo $loclibpth | sed -e "s% $workshoplibs%%" `
+ for lib in $workshoplibs; do
+ loclibpth="$loclibpth $lib/sparcv9"
+ done
+ loclibpth="$loclibpth $workshoplibs"
+ fi
loclibpth="$loclibpth /usr/lib/sparcv9"
case "$cc -v 2>/dev/null" in
*gcc*)
@@ -446,10 +453,10 @@ cat > UU/uselongdouble.cbu <<'EOCBU'
case "$uselongdouble-$uselongdouble_done" in
"$define-"|true-|[yY]*-)
case "$ccisworkshop" in
- '')
- cat <<EOM
+ '') cat <<EOM
-I do not see the libsunmath.so; therefore I cannot do long doubles, sorry.
+I do not see the Sun Workshop compiler; therefore there is no libsunmath.so;
+therefore I cannot do long doubles, sorry. Cannot continue, aborting.
EOM
exit 1