Don't use warning checking macro with sun compiler

This commit is contained in:
Anthony Green
2013-01-10 07:25:10 -05:00
parent 6a028caec1
commit 56ba8d86f4
4 changed files with 9823 additions and 63 deletions
+7 -1
View File
@@ -36,8 +36,14 @@ AM_PROG_CC_C_O
AC_PROG_LIBTOOL
AC_CONFIG_MACRO_DIR([m4])
AX_COMPILER_VENDOR
AX_CC_MAXOPT
AX_CFLAGS_WARN_ALL
# The AX_CFLAGS_WARN_ALL macro doesn't currently work for sunpro
# compiler.
if test "$ax_cv_c_compiler_vendor" != "sun"; then
AX_CFLAGS_WARN_ALL
fi
if test "x$GCC" = "xyes"; then
CFLAGS="$CFLAGS -fexceptions"
touch local.exp