This patch modifies CFLAGS to add -Wall and -Wextra flags to gcc compilation flag. This will help to detect some stupid problems. Signed-off-by: Eric Leblond <eric@xxxxxx> --- configure.in | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/configure.in b/configure.in index f902792..8e0f6a3 100644 --- a/configure.in +++ b/configure.in @@ -30,6 +30,8 @@ dnl Checks for library functions. AC_FUNC_VPRINTF AC_CHECK_FUNCS(socket strerror) +CFLAGS="$CFLAGS -Wall -Wextra" + dnl Check for the right nfnetlink version LIBNFNETLINK_REQUIRED=0.0.39 LIBNETFILTER_CONNTRACK_REQUIRED=0.0.95 -- 1.5.4.3 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html