summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-03-21 20:09:23 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-03-21 20:09:23 +0000
commitd503bed0ad10125976d438fa47e4b223f7cdb98c (patch)
treec853df0b749c002b982599715c474b2d4eb4df18 /hints
parenta08f42e9ba7f15d15d2c01f54d34c1e0cef4510c (diff)
downloadperl-d503bed0ad10125976d438fa47e4b223f7cdb98c.tar.gz
Solaris: default to the SUNwspro cc if it is available.
p4raw-id: //depot/perl@15399
Diffstat (limited to 'hints')
-rw-r--r--hints/solaris_2.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index c377f947d6..95fc3fda68 100644
--- a/hints/solaris_2.sh
+++ b/hints/solaris_2.sh
@@ -94,6 +94,20 @@ case "$workshoplibpth_done" in
esac
EOCBU
+case "$cc" in
+'') if test -f /opt/SUNwspro/bin/cc; then
+ cat <<EOF
+
+You specified no cc but you seem to have the Workshop compiler installed,
+using that. If you want something else, specify that in the command line,
+e.g. Configure -Dcc=gcc
+
+EOF
+ cc=/opt/SUNwspro/bin/cc
+ fi
+ ;;
+esac
+
######################################################
# General sanity testing. See below for excerpts from the Solaris FAQ.
#