diff options
author | Yang Tse <yangsita@gmail.com> | 2008-10-09 15:06:20 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-10-09 15:06:20 +0000 |
commit | 3eddc1184442ec4990152e67a38f57b05b33f02a (patch) | |
tree | 906920789272c7b66874f740215cb0c300213b5e | |
parent | 36d971b025eb46387583c340b88880df2ad4280e (diff) | |
download | c-ares-3eddc1184442ec4990152e67a38f57b05b33f02a.tar.gz c-ares-3eddc1184442ec4990152e67a38f57b05b33f02a.tar.bz2 c-ares-3eddc1184442ec4990152e67a38f57b05b33f02a.zip |
convert rejected compiler options messages into a warnings
-rw-r--r-- | m4/cares-compilers.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/cares-compilers.m4 b/m4/cares-compilers.m4 index eaf0cc2..00f427a 100644 --- a/m4/cares-compilers.m4 +++ b/m4/cares-compilers.m4 @@ -16,7 +16,7 @@ #*************************************************************************** # File version for 'aclocal' use. Keep it a single number. -# serial 12 +# serial 14 dnl CARES_CHECK_COMPILER @@ -441,7 +441,7 @@ AC_DEFUN([CARES_SET_COMPILER_BASIC_OPTS], [ AC_MSG_NOTICE([compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS]) ],[ AC_MSG_RESULT([no]) - AC_MSG_NOTICE([compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS]) + AC_MSG_WARN([compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS]) dnl restore initial settings CPPFLAGS="$tmp_save_CPPFLAGS" CFLAGS="$tmp_save_CFLAGS" @@ -488,7 +488,7 @@ AC_DEFUN([CARES_SET_COMPILER_DEBUG_OPTS], [ AC_MSG_NOTICE([compiler options added: $tmp_options]) ],[ AC_MSG_RESULT([no]) - AC_MSG_NOTICE([compiler options rejected: $tmp_options]) + AC_MSG_WARN([compiler options rejected: $tmp_options]) dnl restore initial settings CPPFLAGS="$tmp_save_CPPFLAGS" CFLAGS="$tmp_save_CFLAGS" @@ -561,7 +561,7 @@ AC_DEFUN([CARES_SET_COMPILER_OPTIMIZE_OPTS], [ AC_MSG_NOTICE([compiler options added: $tmp_options]) ],[ AC_MSG_RESULT([no]) - AC_MSG_NOTICE([compiler options rejected: $tmp_options]) + AC_MSG_WARN([compiler options rejected: $tmp_options]) dnl restore initial settings CPPFLAGS="$tmp_save_CPPFLAGS" CFLAGS="$tmp_save_CFLAGS" |