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=da8ba809e1f846353da8f53b62741fe13d0b021c;hpb=72a157b9ad240a075d0a6936168a297df51e3c50 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