summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/mpc.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/m4/mpc.m4 b/m4/mpc.m4
index 6e83053..f537299 100644
--- a/m4/mpc.m4
+++ b/m4/mpc.m4
@@ -117,6 +117,11 @@ AC_DEFUN([MPC_PROG_CC_WARNINGCFLAGS], [
AX_C_CHECK_FLAG(-Wall,,,$1="$$1 -Wall",)
AX_C_CHECK_FLAG(-Wextra,,,$1="$$1 -Wextra",)
AX_C_CHECK_FLAG(-Werror,,,$1="$$1 -Werror",)
+ AX_C_CHECK_FLAG(-Wdeclaration-after-statement,,,$1="$$1 -Wdeclaration-after-statement",)
+ AX_C_CHECK_FLAG(-Wundef,,,$1="$$1 -Wundef",)
+ AX_C_CHECK_FLAG(-Wshadow,,,$1="$$1 -Wshadow",)
+ AX_C_CHECK_FLAG(-Wstrict-prototypes,,,$1="$$1 -Wstrict-prototypes",)
+ AX_C_CHECK_FLAG(-Wmissing-prototypes,,,$1="$$1 -Wmissing-prototypes",)
AC_SUBST($1)
fi
fi