diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-11-18 00:39:09 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-11-18 00:39:09 +0100 |
commit | 7838dc3ae1297d37c2a75a48f429bb415c1eed22 (patch) | |
tree | 18fa1f0527e224f0b3a7d40e320f0d0d45998a97 /src | |
parent | 4611d77694effd27ad0e191c820498dbff25907c (diff) |
build: expose libcryptsetup dependency in build string
Diffstat (limited to 'src')
-rw-r--r-- | src/build.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/build.h b/src/build.h index 04ac639c56..50cd79dc7c 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 |