mirror of
https://github.com/systemd/systemd.git
synced 2025-01-26 14:04:03 +03:00
autogen.sh: add --with-selinux
This commit is contained in:
parent
4cf2368510
commit
e407720bba
@ -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 \
|
||||
|
@ -1,7 +1,7 @@
|
||||
AM_CPPFLAGS = \
|
||||
-DSYSCONFDIR=\""$(sysconfdir)"\" \
|
||||
-DUDEV_PREFIX=\""$(udev_prefix)"\" \
|
||||
-DLIBUDEV_COMPILATION
|
||||
-D_LIBUDEV_COMPILATION
|
||||
|
||||
noinst_PROGRAMS = \
|
||||
test-libudev
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user