chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bf05675
)
INSTALL: add --enable-extras
author
Kay Sievers
<kay.sievers@vrfy.org>
Tue, 16 Jun 2009 16:06:13 +0000
(18:06 +0200)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Tue, 16 Jun 2009 16:06:13 +0000
(18:06 +0200)
INSTALL
patch
|
blob
|
history
configure.ac
patch
|
blob
|
history
diff --git
a/INSTALL
b/INSTALL
index 743580c21e7a4a130d4a4f013e4a8de3b28293c7..9e24144728e4d11b0a50f998880cc8937d922319 100644
(file)
--- a/
INSTALL
+++ b/
INSTALL
@@
-31,6
+31,9
@@
All options:
--with-selinux
Link against SELInux libraries to set the expected context
for created files.
--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}
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
--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
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 077944b3dd69303d2aeb799435ae24e385dd1409..b4d00e84292a601e867dae5eeed66bdfe5424110 100644
(file)
--- 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])
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])
fi
AM_CONDITIONAL([ENABLE_EXTRAS], [test "x$enable_extras" = xyes])