From e407720bbaa718d97eefacb62ff96a7796f54281 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sat, 30 Aug 2008 23:08:19 +0200 Subject: [PATCH] autogen.sh: add --with-selinux --- autogen.sh | 2 +- udev/lib/Makefile.am | 2 +- udev/lib/libudev.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/autogen.sh b/autogen.sh index 234e8290..4532e870 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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 \ diff --git a/udev/lib/Makefile.am b/udev/lib/Makefile.am index dadcd55f..f1f5fb74 100644 --- a/udev/lib/Makefile.am +++ b/udev/lib/Makefile.am @@ -1,7 +1,7 @@ AM_CPPFLAGS = \ -DSYSCONFDIR=\""$(sysconfdir)"\" \ -DUDEV_PREFIX=\""$(udev_prefix)"\" \ - -DLIBUDEV_COMPILATION + -D_LIBUDEV_COMPILATION noinst_PROGRAMS = \ test-libudev diff --git a/udev/lib/libudev.h b/udev/lib/libudev.h index cd366c7d..3a1c1bf3 100644 --- a/udev/lib/libudev.h +++ b/udev/lib/libudev.h @@ -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 -- 2.39.5