Commit 5de8105f authored by Gildas Bazin's avatar Gildas Bazin

* configure.ac: when checking for Wextra support, don't check for Werror instead.

parent e5db0823
......@@ -907,7 +907,7 @@ AC_CACHE_CHECK([if $CC accepts -Wall],
AC_CACHE_CHECK([if $CC accepts -Wextra],
[ac_cv_c_Wextra],
[CFLAGS="-Werror ${CFLAGS_save}"
[CFLAGS="-Wextra ${CFLAGS_save}"
AC_TRY_COMPILE([],,ac_cv_c_Wextra=yes, ac_cv_c_Wextra=no)])
AC_CACHE_CHECK([if $CC accepts -Wno-unused-parameter],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment