When using GCC, use stronger error-checking options.
This commit is contained in:
parent
a381bda8c4
commit
286151fe68
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user