chiark / gitweb /
build: expose libcryptsetup dependency in build string
authorLennart Poettering <lennart@poettering.net>
Wed, 17 Nov 2010 23:39:09 +0000 (00:39 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 17 Nov 2010 23:39:09 +0000 (00:39 +0100)
src/build.h

index 04ac639..50cd79d 100644 (file)
 #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