When using GCC, use stronger error-checking options.

This commit is contained in:
Fred L. Drake, Jr. 2001-07-25 17:25:46 +00:00
parent a381bda8c4
commit 286151fe68

View File

@ -62,6 +62,10 @@ dnl Checks for programs.
AC_PROG_CC AC_PROG_CC
AC_PROG_INSTALL AC_PROG_INSTALL
if test "$GCC" = yes ; then
CFLAGS="$CFLAGS -Wall -Wstrict-prototypes"
fi
dnl Checks for libraries. dnl Checks for libraries.
dnl Checks for header files. dnl Checks for header files.