diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2017-01-18 11:08:10 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2017-01-19 16:15:30 +0100 |
commit | 7fad825ab7ee0691ca74c6f621480d6a5daa4bb9 (patch) | |
tree | deaecf69cb587ec9fad66b4e5b2fb26a4d7978d8 /m4 | |
parent | c353bd92a1bcab8407626c89fadb3d7abd26d4a2 (diff) |
build: move the --enable-more-warning option from m4/ to configure.ac
It will make it easier to policy the default.
(cherry picked from commit 8647be3717b551164a540f315b1a3643aa20aba4)
Diffstat (limited to 'm4')
-rw-r--r-- | m4/compiler_options.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/compiler_options.m4 b/m4/compiler_options.m4 index ad03200a5..0023c36b9 100644 --- a/m4/compiler_options.m4 +++ b/m4/compiler_options.m4 @@ -37,7 +37,7 @@ AC_DEFUN([NM_COMPILER_WARNING], [ AC_DEFUN([NM_COMPILER_WARNINGS], [AC_ARG_ENABLE(more-warnings, AS_HELP_STRING([--enable-more-warnings], [Possible values: no/yes/error]), - set_more_warnings="$enableval",set_more_warnings=yes) + set_more_warnings="$enableval",set_more_warnings=$1) AC_MSG_CHECKING(for more warnings) if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then AC_MSG_RESULT(yes) |