convert rejected compiler options messages into a warnings

This commit is contained in:
Yang Tse
2008-10-09 15:06:20 +00:00
parent 43c2cf4edb
commit 1c5336cd57
2 changed files with 8 additions and 8 deletions

View File

@@ -22,7 +22,7 @@
#***************************************************************************
# File version for 'aclocal' use. Keep it a single number.
# serial 11
# serial 13
dnl CURL_CHECK_COMPILER
@@ -447,7 +447,7 @@ AC_DEFUN([CURL_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"
@@ -494,7 +494,7 @@ AC_DEFUN([CURL_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"
@@ -567,7 +567,7 @@ AC_DEFUN([CURL_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"