From 7838dc3ae1297d37c2a75a48f429bb415c1eed22 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 18 Nov 2010 00:39:09 +0100 Subject: [PATCH] build: expose libcryptsetup dependency in build string --- src/build.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/build.h b/src/build.h index 04ac639c..50cd79dc 100644 --- a/src/build.h +++ b/src/build.h @@ -52,6 +52,12 @@ #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 -- 2.39.5