]> git.ipfire.org Git - thirdparty/ulogd2.git/commitdiff
Modify CFLAGS to have useful gcc warnings
authorEric Leblond <eric@inl.fr>
Wed, 23 Jul 2008 12:53:04 +0000 (14:53 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 23 Jul 2008 12:53:04 +0000 (14:53 +0200)
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>
configure.in

index f9027928d53ecd1e85dd33ce8e237855ff1d5f0c..8e0f6a3cfa62a0848df51d1f4d0227db97eb88a2 100644 (file)
@@ -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