X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=autogen.sh;h=b6db9f919cd932750274c1fa54dcae7ab740c81f;hp=43c763bf2fd074bce6f04fa702eda8575a6585dc;hb=df7ae680d88f77ff67f44a49c57dd0079b527a60;hpb=72a157b9ad240a075d0a6936168a297df51e3c50 diff --git a/autogen.sh b/autogen.sh index 43c763bf2..b6db9f919 100755 --- a/autogen.sh +++ b/autogen.sh @@ -42,7 +42,13 @@ echo " automake: $(automake --version | head -1)" automake --add-missing if test -z "$@"; then - args="--prefix=/usr --exec-prefix= --sysconfdir=/etc" + args="--prefix=/usr --exec-prefix= --sysconfdir=/etc --with-selinux --enable-debug" + args="$args --with-libdir-name=$(basename $(gcc -print-multi-os-directory))" + export CFLAGS="-g -Wall \ +-Wmissing-declarations -Wmissing-prototypes \ +-Wnested-externs -Wpointer-arith \ +-Wpointer-arith -Wsign-compare -Wchar-subscripts \ +-Wstrict-prototypes -Wshadow" else args=$@ fi