Add -Wstrict-prototypes to extra-gcc-checks

svn path=/trunk/; revision=9723
This commit is contained in:
Jörg Mayer 2004-01-18 16:24:58 +00:00
parent e68ca30d10
commit 40b837c98d
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $Id: configure.in,v 1.244 2004/01/10 16:50:52 obiot Exp $
# $Id: configure.in,v 1.245 2004/01/18 16:24:58 jmayer Exp $
dnl
dnl Process this file with autoconf 2.13 or later to produce a
dnl configure script; 2.12 doesn't generate a "configure" script that
@ -78,7 +78,7 @@ AC_ARG_WITH(extra-gcc-checks,
[
if test $withval != no
then
ethereal_extra_gcc_flags=" -Wcast-qual -Wcast-align -Wbad-function-cast -pedantic"
ethereal_extra_gcc_flags=" -Wcast-qual -Wcast-align -Wbad-function-cast -pedantic -Wstrict-prototypes"
fi
],)
AC_MSG_CHECKING(to see if we can add '-Wall -W$ethereal_extra_gcc_flags' to CFLAGS)