chiark / gitweb /
libudev: handle "device" link as parent, handle "class" "block" as "subsystem"
[elogind.git] / autogen.sh
index 43c763b..b6db9f9 100755 (executable)
@@ -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