]> err.no Git - systemd/commitdiff
add some warnings
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 12 Aug 2008 09:19:32 +0000 (11:19 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 12 Aug 2008 09:19:32 +0000 (11:19 +0200)
autogen.sh
configure.ac

index 43c763bf2fd074bce6f04fa702eda8575a6585dc..4ec4e0551aa244fe0dce71d54c9033029fc82642 100755 (executable)
@@ -43,6 +43,11 @@ automake --add-missing
 
 if test -z "$@"; then
        args="--prefix=/usr --exec-prefix= --sysconfdir=/etc"
+       export CFLAGS="-g -Wall \
+-Wmissing-declarations -Wmissing-prototypes \
+-Wnested-externs -Wpointer-arith \
+-Wpointer-arith -Wsign-compare -Wchar-subscripts \
+-Wstrict-prototypes -Wshadow"
 else
        args=$@
 fi
index 8d5228ff910eb7b36ac6cc7b14692fc636afbb5a..eb22a5cb6119eed634f201f3c956a42ab56480dd 100644 (file)
@@ -3,7 +3,7 @@ AC_INIT([udev],
        [kay.sievers@vrfy.org])
 AC_PREREQ(2.60)
 AC_CONFIG_SRCDIR([udev/udevd.c])
-AM_INIT_AUTOMAKE([check-news foreign -Wall 1.9 dist-bzip2])
+AM_INIT_AUTOMAKE([check-news foreign 1.9 dist-bzip2])
 AC_GNU_SOURCE
 AC_DISABLE_STATIC
 AC_SYS_LARGEFILE