From 286151fe68183c892d1f30ae4eb68c7e7cb4cbc8 Mon Sep 17 00:00:00 2001 From: "Fred L. Drake, Jr." Date: Wed, 25 Jul 2001 17:25:46 +0000 Subject: [PATCH] When using GCC, use stronger error-checking options. --- expat/configure.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/expat/configure.in b/expat/configure.in index c9be67dc..2e39480f 100644 --- a/expat/configure.in +++ b/expat/configure.in @@ -62,6 +62,10 @@ dnl Checks for programs. AC_PROG_CC AC_PROG_INSTALL +if test "$GCC" = yes ; then + CFLAGS="$CFLAGS -Wall -Wstrict-prototypes" +fi + dnl Checks for libraries. dnl Checks for header files.