This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Comedy of typing errors.
[perl5.git] / hints / solaris_2.sh
index c377f94..138be7b 100644 (file)
@@ -94,6 +94,20 @@ case "$workshoplibpth_done" in
 esac
 EOCBU
 
+case "$cc" in
+'')    if test -f /opt/SUNWspro/bin/cc; then
+               cat <<EOF >&4   
+
+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.
 #