summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2017-01-18 11:08:10 +0100
committerLubomir Rintel <lkundrak@v3.sk>2017-01-19 16:15:30 +0100
commitfd47a9a7622df5b98bdbdf9642dc22d783136584 (patch)
treedeaecf69cb587ec9fad66b4e5b2fb26a4d7978d8 /m4
parent9d431169c3aba35ad04bd5962c2973b6b362f1d0 (diff)
downloadNetworkManager-fd47a9a7622df5b98bdbdf9642dc22d783136584.tar.gz
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.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/compiler_options.m4 b/m4/compiler_options.m4
index ad03200a51..0023c36b91 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)