]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/basic/build.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
5 This file is part of systemd.
7 Copyright 2010 Lennart Poettering
9 systemd is free software; you can redistribute it and/or modify it
10 under the terms of the GNU Lesser General Public License as published by
11 the Free Software Foundation; either version 2.1 of the License, or
12 (at your option) any later version.
14 systemd is distributed in the hope that it will be useful, but
15 WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 Lesser General Public License for more details.
19 You should have received a copy of the GNU Lesser General Public License
20 along with systemd; If not, see <http://www.gnu.org/licenses/>.
24 #define _PAM_FEATURE_ "+PAM"
26 #define _PAM_FEATURE_ "-PAM"
30 #define _AUDIT_FEATURE_ "+AUDIT"
32 #define _AUDIT_FEATURE_ "-AUDIT"
36 #define _SELINUX_FEATURE_ "+SELINUX"
38 #define _SELINUX_FEATURE_ "-SELINUX"
42 #define _APPARMOR_FEATURE_ "+APPARMOR"
44 #define _APPARMOR_FEATURE_ "-APPARMOR"
48 #define _IMA_FEATURE_ "+IMA"
50 #define _IMA_FEATURE_ "-IMA"
54 #define _SMACK_FEATURE_ "+SMACK"
56 #define _SMACK_FEATURE_ "-SMACK"
60 #define _SYSVINIT_FEATURE_ "+SYSVINIT"
62 #define _SYSVINIT_FEATURE_ "-SYSVINIT"
66 #define _UTMP_FEATURE_ "+UTMP"
68 #define _UTMP_FEATURE_ "-UTMP"
71 #if HAVE_LIBCRYPTSETUP
72 #define _LIBCRYPTSETUP_FEATURE_ "+LIBCRYPTSETUP"
74 #define _LIBCRYPTSETUP_FEATURE_ "-LIBCRYPTSETUP"
78 #define _GCRYPT_FEATURE_ "+GCRYPT"
80 #define _GCRYPT_FEATURE_ "-GCRYPT"
84 #define _GNUTLS_FEATURE_ "+GNUTLS"
86 #define _GNUTLS_FEATURE_ "-GNUTLS"
90 #define _ACL_FEATURE_ "+ACL"
92 #define _ACL_FEATURE_ "-ACL"
96 #define _XZ_FEATURE_ "+XZ"
98 #define _XZ_FEATURE_ "-XZ"
102 #define _LZ4_FEATURE_ "+LZ4"
104 #define _LZ4_FEATURE_ "-LZ4"
108 #define _SECCOMP_FEATURE_ "+SECCOMP"
110 #define _SECCOMP_FEATURE_ "-SECCOMP"
114 #define _BLKID_FEATURE_ "+BLKID"
116 #define _BLKID_FEATURE_ "-BLKID"
120 #define _ELFUTILS_FEATURE_ "+ELFUTILS"
122 #define _ELFUTILS_FEATURE_ "-ELFUTILS"
126 #define _KMOD_FEATURE_ "+KMOD"
128 #define _KMOD_FEATURE_ "-KMOD"
132 #define _IDN2_FEATURE_ "+IDN2"
134 #define _IDN2_FEATURE_ "-IDN2"
138 #define _IDN_FEATURE_ "+IDN"
140 #define _IDN_FEATURE_ "-IDN"
143 #define _CGROUP_HIEARCHY_ "default-hierarchy=" DEFAULT_HIERARCHY_NAME
145 #define SYSTEMD_FEATURES \
147 _AUDIT_FEATURE_ " " \
148 _SELINUX_FEATURE_ " " \
150 _APPARMOR_FEATURE_ " " \
151 _SMACK_FEATURE_ " " \
152 _SYSVINIT_FEATURE_ " " \
154 _LIBCRYPTSETUP_FEATURE_ " " \
155 _GCRYPT_FEATURE_ " " \
156 _GNUTLS_FEATURE_ " " \
160 _SECCOMP_FEATURE_ " " \
161 _BLKID_FEATURE_ " " \
162 _ELFUTILS_FEATURE_ " " \