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:
4611d77
)
build: expose libcryptsetup dependency in build string
author
Lennart Poettering
<lennart@poettering.net>
Wed, 17 Nov 2010 23:39:09 +0000
(
00:39
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 17 Nov 2010 23:39:09 +0000
(
00:39
+0100)
src/build.h
patch
|
blob
|
history
diff --git
a/src/build.h
b/src/build.h
index 04ac639c56c6bb64415d56f608ec58baf56c55f6..50cd79dc7cdbe53cd2036384dc571a9c65ff50ce 100644
(file)
--- a/
src/build.h
+++ b/
src/build.h
@@
-52,6
+52,12
@@
#define _SYSVINIT_FEATURE_ "-SYSVINIT"
#endif
#define _SYSVINIT_FEATURE_ "-SYSVINIT"
#endif
-#define SYSTEMD_FEATURES _PAM_FEATURE_ " " _LIBWRAP_FEATURE_ " " _AUDIT_FEATURE_ " " _SELINUX_FEATURE_ " " _SYSVINIT_FEATURE_
+#ifdef HAVE_LIBCRYPTSETUP
+#define _LIBCRYPTSETUP_FEATURE_ "+LIBCRYPTSETUP"
+#else
+#define _LIBCRYPTSETUP_FEATURE_ "-LIBCRYPTSETUP"
+#endif
+
+#define SYSTEMD_FEATURES _PAM_FEATURE_ " " _LIBWRAP_FEATURE_ " " _AUDIT_FEATURE_ " " _SELINUX_FEATURE_ " " _SYSVINIT_FEATURE_ " " _LIBCRYPTSETUP_FEATURE_
#endif
#endif