Doc tweaks.
[p5sagit/p5-mst-13.2.git] / hints / solaris_2.sh
index 37142d0..95fc3fd 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               
+
+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.
 #
@@ -409,6 +423,8 @@ EOM
        # Ditto. (Solaris 7)
        d_readdir_r_proto="$define"
        d_readdir64_r_proto="$define"
+       d_tmpnam_r_proto="$define"
+       d_ttyname_r_proto="$define"
 
        ;;
 esac