From 1e67081197110cb0593e87871a77eaa8f9e29c9f Mon Sep 17 00:00:00 2001 From: David Levine Date: Tue, 10 Dec 2013 08:15:22 -0600 Subject: [PATCH] Of course that didn't work. Try specifying the SunStudio compiler in CC. --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.56.0