summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-06-16 18:06:13 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-06-16 18:06:13 +0200
commit88a7923e91fddec8e4f4c9115168ede5d239d8ee (patch)
tree226907f975553cbf9f6e37645579e039aa338ef5
parentbf05675a2007af645b1998d5b7c60ab7bf2dc1fc (diff)
INSTALL: add --enable-extras
-rw-r--r--INSTALL4
-rw-r--r--configure.ac3
2 files changed, 7 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 743580c21e..9e24144728 100644
--- a/INSTALL
+++ b/INSTALL
@@ -31,6 +31,9 @@ All options:
--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, ...
The options used in a RPM spec file usually look like:
--prefix=%{_prefix}
@@ -38,6 +41,7 @@ The options used in a RPM spec file usually look like:
--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
diff --git a/configure.ac b/configure.ac
index 077944b3dd..b4d00e8429 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,6 +65,9 @@ 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])
AC_SUBST([GLIB_LIBS])
+
+ AC_CHECK_LIB([acl], [acl_init], [:], AC_MSG_ERROR([libacl not found]))
+ AC_CHECK_HEADER([acl/libacl.h], [:], AC_MSG_ERROR([libacl header not found]))
fi
AM_CONDITIONAL([ENABLE_EXTRAS], [test "x$enable_extras" = xyes])