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.
#
EOM
fi
+
+ # These prototypes should be visible since we using
+ # -D_REENTRANT, but that does not seem to work.
+ # It does seem to work for getnetbyaddr_r, weirdly enough,
+ # and other _r functions. (Solaris 8)
+
+ d_ctermid_r_proto="$define"
+ d_gethostbyaddr_r_proto="$define"
+ d_gethostbyname_r_proto="$define"
+ d_getnetbyname_r_proto="$define"
+ d_getprotobyname_r_proto="$define"
+ d_getprotobynumber_r_proto="$define"
+ d_getservbyname_r_proto="$define"
+ d_getservbyport_r_proto="$define"
+
+ # Ditto. (Solaris 7)
+ d_readdir_r_proto="$define"
+ d_readdir64_r_proto="$define"
+ d_tmpnam_r_proto="$define"
+ d_ttyname_r_proto="$define"
+
;;
esac
EOCBU