summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kiselev <dron@ak4719.spb.edu>2005-11-30 14:26:58 +0000
committerAndrey Kiselev <dron@ak4719.spb.edu>2005-11-30 14:26:58 +0000
commita647f3f1f037b1ca3a41d78075084d6990798b8d (patch)
tree46af4b4e4871a5ebd3b3d77115d7392cd036305b
parent50253597da7bbe66ade2e3538e60b05ce528d47c (diff)
downloadlibtiff-git-a647f3f1f037b1ca3a41d78075084d6990798b8d.tar.gz
Added -Wextra to the gcc flags in VL_PROG_CC_WARNINGS macro.
-rw-r--r--m4/acinclude.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/acinclude.m4 b/m4/acinclude.m4
index d236a6bc..4fbbe07e 100644
--- a/m4/acinclude.m4
+++ b/m4/acinclude.m4
@@ -41,9 +41,9 @@ EOF
dnl GCC
if test "$GCC" = "yes"; then
if test -z "$ansi"; then
- vl_cv_prog_cc_warnings="-Wall"
+ vl_cv_prog_cc_warnings="-Wall -Wextra"
else
- vl_cv_prog_cc_warnings="-Wall -ansi -pedantic"
+ vl_cv_prog_cc_warnings="-Wall -Wextra -ansi -pedantic"
fi
dnl Most compilers print some kind of a version string with some command