diff options
author | Eric Leblond <eric@inl.fr> | 2008-07-23 14:53:04 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-07-23 14:53:04 +0200 |
commit | e2cb7c76b56497b2468d13b9430f735cf43ced6d (patch) | |
tree | 4ac39b7aeb09c1717c0a26029901cca618418d9b /configure.in | |
parent | fc0ae6727593549b62c765e445f3724536911038 (diff) |
Modify CFLAGS to have useful gcc warnings
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@inl.fr>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'configure.in')
-rw-r--r-- | 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 |