changeset 30677:13d63ba31154

Add -Wmissing-prototypes to CFLAGS if available.
author diego
date Tue, 23 Feb 2010 07:55:47 +0000
parents 13b7aa964af6
children 056d0932b4dc
files configure
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue Feb 23 07:54:43 2010 +0000
+++ b/configure	Tue Feb 23 07:55:47 2010 +0000
@@ -2534,6 +2534,7 @@
   cc_check -Wno-pointer-sign && CFLAGS="-Wno-pointer-sign $CFLAGS"
   cc_check -Wdisabled-optimization && CFLAGS="-Wdisabled-optimization $CFLAGS"
   cc_check -Wundef && CFLAGS="-Wundef $CFLAGS"
+  cc_check -Wmissing-prototypes && CFLAGS="-Wmissing-prototypes $CFLAGS"
 else
   CFLAGS="-D_ISOC99_SOURCE -D_BSD_SOURCE $CFLAGS"
 fi