]> diplodocus.org Git - nmh/commitdiff
Of course that didn't work. Try specifying the SunStudio
authorDavid Levine <levinedl@acm.org>
Tue, 10 Dec 2013 14:15:22 +0000 (08:15 -0600)
committerDavid Levine <levinedl@acm.org>
Tue, 10 Dec 2013 14:15:22 +0000 (08:15 -0600)
compiler in CC.

configure.ac

index e6affcc..3e37b88 100644 (file)
@@ -98,7 +98,10 @@ if test x"$enable_debug" = x"yes"; then
 fi
 
 dnl Use SunStudio cc on Solaris.
 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
 
 AC_PROG_CC([cc clang gcc])
 AM_PROG_CC_C_O