chiark / gitweb /
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 43c763b..4ec4e05 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 8d5228f..eb22a5c 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