]> diplodocus.org Git - nmh/commitdiff
Use SolarisStudio cc if available.
authorDavid Levine <levinedl@acm.org>
Tue, 10 Dec 2013 05:45:54 +0000 (23:45 -0600)
committerDavid Levine <levinedl@acm.org>
Tue, 10 Dec 2013 05:45:54 +0000 (23:45 -0600)
configure.ac

index 7b3a24a..c6240d9 100644 (file)
@@ -97,11 +97,8 @@ if test x"$enable_debug" = x"yes"; then
   test -z "$LDFLAGS" && LDFLAGS=-g
 fi
 
-AC_PROG_CC
+AC_PROG_CC([cc /opt/solarisstudio12.3/bin/cc clang gcc])
 AM_PROG_CC_C_O
-dnl TEMPORARY probe on buildbot
-uname -a
-find /opt -name cc
 
 AC_CACHE_CHECK([whether compiler supports -Wextra], [nmh_cv_has_wextra],
 [nmh_saved_cflags="$CFLAGS"