Try -v with SunStudio cc.  Also, try setting CC instead of modifying AC_PROC_CC to pick up cc on the buildbot Solaris host.
Try -v with SunStudio cc.  Also, try setting CC instead of modifying
AC_PROC_CC to pick up cc on the buildbot Solaris host.

dscho/nmh,mcr/nmh,mcr/nmh,dscho/nmh,dscho/nmh,dscho/nmh