From: David Levine Date: Tue, 10 Dec 2013 14:15:22 +0000 (-0600) Subject: Of course that didn't work. Try specifying the SunStudio X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/1e67081197110cb0593e87871a77eaa8f9e29c9f Of course that didn't work. Try specifying the SunStudio compiler in CC. --- diff --git a/configure.ac b/configure.ac index e6affccf..3e37b885 100644 --- a/configure.ac +++ b/configure.ac @@ -98,7 +98,10 @@ if test x"$enable_debug" = x"yes"; then fi dnl Use SunStudio cc on Solaris. -test -d /opt/solarisstudio12.3/bin && PATH=/opt/solarisstudio12.3/bin:$PATH +if test -d /opt/solarisstudio12.3/bin; then + PATH=/opt/solarisstudio12.3/bin:$PATH + CC=/opt/solarisstudio12.3/bin/cc; export CC +fi AC_PROG_CC([cc clang gcc]) AM_PROG_CC_C_O