X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=autogen.sh;h=4ec4e0551aa244fe0dce71d54c9033029fc82642;hp=43c763bf2fd074bce6f04fa702eda8575a6585dc;hb=e231a5db51f1b21252b2404d0aa2f243baa87a1a;hpb=b7ec267e176021803e27941ae8a2860facff692b diff --git a/autogen.sh b/autogen.sh index 43c763bf2..4ec4e0551 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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