From 0f6285d45cbdd080de8a37a624e43a12a7173db9 Mon Sep 17 00:00:00 2001 From: "Barak A. Pearlmutter" Date: Wed, 28 Dec 2016 11:31:44 +0100 Subject: [PATCH] do gcc -Wall the autotools way --- Makefile.am | 2 +- configure.ac | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 14ce287..f5d57c6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,7 +5,7 @@ ################################################################ AM_CPPFLAGS = -D$(OS) -AM_CFLAGS = -g -Wall -pedantic +AM_CFLAGS = -g -pedantic ################################################################ diff --git a/configure.ac b/configure.ac index 2d4e90d..3d241b0 100644 --- a/configure.ac +++ b/configure.ac @@ -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