Commit 9adeb101 authored by Olivier Crête's avatar Olivier Crête 👻
Browse files

configure: Add newline ignoring

Otherwise it ran the "yes" command
parent e7d09301
......@@ -117,8 +117,8 @@ NICE_ADD_FLAG([-fno-strict-aliasing])
AS_IF([test "$enable_compile_warnings" != "no"],[
NICE_ADD_FLAG([-Wall])
])
AS_IF([test "$enable_compile_warnings" != "no" -a
"$enable_compile_warnings" != "minimum"],[
AS_IF([test "x$enable_compile_warnings" != "xno" -a \
"x$enable_compile_warnings" != "xminimum"],[
NICE_ADD_FLAG([-Wextra])
NICE_ADD_FLAG([-Wundef])
NICE_ADD_FLAG([-Wnested-externs])
......
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