]> err.no Git - systemd/commitdiff
autogen.sh: add --with-selinux
authorKay Sievers <kay.sievers@vrfy.org>
Sat, 30 Aug 2008 21:08:19 +0000 (23:08 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Sat, 30 Aug 2008 21:08:19 +0000 (23:08 +0200)
autogen.sh
udev/lib/Makefile.am
udev/lib/libudev.h

index 234e82902cf8d498c99e25f55e2cab74b8544d40..4532e870bc93d8cd09451c40dafb8c880e406123 100755 (executable)
@@ -42,7 +42,7 @@ 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"
        args="$args --with-libdir-name=$(basename $(gcc -print-multi-os-directory))"
        export CFLAGS="-g -Wall \
 -Wmissing-declarations -Wmissing-prototypes \
index dadcd55f0fcb84188a1a6322473174534b943b70..f1f5fb74b1876159ad7333b7a840b7d5ad5b94eb 100644 (file)
@@ -1,7 +1,7 @@
 AM_CPPFLAGS = \
        -DSYSCONFDIR=\""$(sysconfdir)"\" \
        -DUDEV_PREFIX=\""$(udev_prefix)"\" \
-       -DLIBUDEV_COMPILATION
+       -D_LIBUDEV_COMPILATION
 
 noinst_PROGRAMS = \
        test-libudev
index cd366c7dfca81692abed23551094dda12227a432..3a1c1bf3ac404a0f8456bedb7897310ff267ce1f 100644 (file)
@@ -21,7 +21,7 @@
 #define _LIBUDEV_H_
 
 /* this will stay as long as the DeviceKit integration of udev is work in progress */
-#if !defined LIBUDEV_COMPILATION && !defined LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE
+#if !defined _LIBUDEV_COMPILATION && !defined LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE
 #error "#define LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE is needed to use this experimental library version"
 #endif