diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-02-05 18:16:02 -0500 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-02-05 18:16:02 -0500 |
commit | 9adeb101a73e0faa9cae36869834e2fc3ee64d26 (patch) | |
tree | d3a8a73849cf60f52d102630a19502f8433dbc9c /configure.ac | |
parent | e7d0930179f4cab85822586d25e3a7706cade1e1 (diff) | |
download | libnice-9adeb101a73e0faa9cae36869834e2fc3ee64d26.tar.gz |
configure: Add newline ignoring
Otherwise it ran the "yes" command
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 948916d..50c226b 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) |