summaryrefslogtreecommitdiff
path: root/m4/ax_compiler_flags.m4
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2015-02-20 17:57:47 +0000
committerPhilip Withnall <philip.withnall@collabora.co.uk>2015-02-23 09:36:23 +0000
commit2fbf30cc008cbada34fc5a8786757250560b19b9 (patch)
treec43a08a0da81583b8f1501335532cd7177b815df /m4/ax_compiler_flags.m4
parent8b46e05f74d7aeca67176597d567a9bc4c5b8070 (diff)
downloadautoconf-archive-2fbf30cc008cbada34fc5a8786757250560b19b9.tar.gz
ax_compiler_flags: Clarify the EXTRA-* variables are for warnings only
They are not for general purpose compiler flags.
Diffstat (limited to 'm4/ax_compiler_flags.m4')
-rw-r--r--m4/ax_compiler_flags.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/m4/ax_compiler_flags.m4 b/m4/ax_compiler_flags.m4
index 84cd882..a0d251f 100644
--- a/m4/ax_compiler_flags.m4
+++ b/m4/ax_compiler_flags.m4
@@ -50,6 +50,10 @@
#
# https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Diagnostic-Pragmas.html#Diagnostic-Pragmas
#
+# The EXTRA-* variables should only be used to supply extra warning flags,
+# and not general purpose compiler flags, as they are controlled by
+# configure options such as --disable-Werror.
+#
# IS-RELEASE can be used to disable -Werror when making a release, which
# is useful for those hairy moments when you just want to get the release
# done as quickly as possible. Set it to "yes" to disable -Werror.
@@ -88,7 +92,7 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 9
+#serial 10
# _AX_COMPILER_FLAGS_LANG([LANGNAME])
m4_defun([_AX_COMPILER_FLAGS_LANG],