do gcc -Wall the autotools way

This commit is contained in:
Barak A. Pearlmutter 2016-12-28 11:31:44 +01:00
parent d96c2ea431
commit 0f6285d45c
2 changed files with 2 additions and 1 deletions

View file

@ -5,7 +5,7 @@
################################################################
AM_CPPFLAGS = -D$(OS)
AM_CFLAGS = -g -Wall -pedantic
AM_CFLAGS = -g -pedantic
################################################################

View file

@ -56,6 +56,7 @@ AC_PROG_CC
AC_PROG_CC_STDC
AS_IF([test "x${ac_cv_prog_cc_stdc}" = xno],
[AC_MSG_WARN([Unable to engage Standard C (C99) option])],)
AX_CFLAGS_WARN_ALL
AC_PROG_INSTALL
# Process options