--with-selinux
Link against SELInux libraries to set the expected context
for created files.
- --enable-extras
- Build extras with larger external dependencies like glib,
- libacl, libusb, ...
+ --disable-extras
+ Disable the build of extras with larger external dependencies
+ like glib, libacl, libusb, ...
The options used in a RPM spec file usually look like:
--prefix=%{_prefix}
--sysconfdir=%{_sysconfdir}
--with-libdir-name=%{_lib}
--with-selinux
- --enable-extras
The defined location for scripts and binaries which are called
from rules is /lib/udev/ on all systems and architectures. Any
these group names with only the rootfs mounted, and while no network is
available.
+ - To build all udev extras, libacl, libglib2, libusb, usbutils, pciutils are
+ needed. These dependencies can be disabled with the --disable-extras option.
+
Operation:
Udev creates and removes device nodes in /dev/, based on events the kernel
sends out on device discovery or removal.
+ o CFLAGS debug
+ o cleanup old extras which link libudev source directly
o fix configure options and libdir-name, exec-prefix, udev-prefix, libdir, ...
o enumerate: sort control* after pcm*
libdirname=$(basename $(cd /lib/$(gcc -print-multi-os-directory); pwd))
args="--prefix=/usr --exec-prefix= --sysconfdir=/etc \
--libdir=/usr/$libdirname --with-libdir-name=$libdirname \
---with-selinux --enable-gtk-doc --enable-extras"
+--with-selinux --enable-gtk-doc"
export CFLAGS="$CFLAGS -O2"
./configure $args $@
fi
AC_ARG_ENABLE([extras],
- AS_HELP_STRING([--enable-extras], [enable extras with external dependencies]),
- [], [enable_extras=no])
+ AS_HELP_STRING([--disable-extras], [disable extras with external dependencies]),
+ [], [enable_extras=yes])
if test "x$enable_extras" = xyes; then
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.7.0 gobject-2.0 >= 2.7.0])
AC_SUBST([GLIB_CFLAGS])