]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/basic/build.h
bb65a2e42efa71c96114fd467da30e08b8918261
4 This file is part of systemd.
6 Copyright 2010 Lennart Poettering
8 systemd is free software; you can redistribute it and/or modify it
9 under the terms of the GNU Lesser General Public License as published by
10 the Free Software Foundation; either version 2.1 of the License, or
11 (at your option) any later version.
13 systemd is distributed in the hope that it will be useful, but
14 WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 Lesser General Public License for more details.
18 You should have received a copy of the GNU Lesser General Public License
19 along with systemd; If not, see <http://www.gnu.org/licenses/>.
23 #define _PAM_FEATURE_ "+PAM"
25 #define _PAM_FEATURE_ "-PAM"
29 #define _AUDIT_FEATURE_ "+AUDIT"
31 #define _AUDIT_FEATURE_ "-AUDIT"
35 #define _SELINUX_FEATURE_ "+SELINUX"
37 #define _SELINUX_FEATURE_ "-SELINUX"
41 #define _APPARMOR_FEATURE_ "+APPARMOR"
43 #define _APPARMOR_FEATURE_ "-APPARMOR"
47 #define _IMA_FEATURE_ "+IMA"
49 #define _IMA_FEATURE_ "-IMA"
53 #define _SMACK_FEATURE_ "+SMACK"
55 #define _SMACK_FEATURE_ "-SMACK"
59 #define _SYSVINIT_FEATURE_ "+SYSVINIT"
61 #define _SYSVINIT_FEATURE_ "-SYSVINIT"
65 #define _UTMP_FEATURE_ "+UTMP"
67 #define _UTMP_FEATURE_ "-UTMP"
70 #if HAVE_LIBCRYPTSETUP
71 #define _LIBCRYPTSETUP_FEATURE_ "+LIBCRYPTSETUP"
73 #define _LIBCRYPTSETUP_FEATURE_ "-LIBCRYPTSETUP"
77 #define _GCRYPT_FEATURE_ "+GCRYPT"
79 #define _GCRYPT_FEATURE_ "-GCRYPT"
83 #define _GNUTLS_FEATURE_ "+GNUTLS"
85 #define _GNUTLS_FEATURE_ "-GNUTLS"
89 #define _ACL_FEATURE_ "+ACL"
91 #define _ACL_FEATURE_ "-ACL"
95 #define _XZ_FEATURE_ "+XZ"
97 #define _XZ_FEATURE_ "-XZ"
101 #define _LZ4_FEATURE_ "+LZ4"
103 #define _LZ4_FEATURE_ "-LZ4"
107 #define _SECCOMP_FEATURE_ "+SECCOMP"
109 #define _SECCOMP_FEATURE_ "-SECCOMP"
113 #define _BLKID_FEATURE_ "+BLKID"
115 #define _BLKID_FEATURE_ "-BLKID"
119 #define _ELFUTILS_FEATURE_ "+ELFUTILS"
121 #define _ELFUTILS_FEATURE_ "-ELFUTILS"
125 #define _KMOD_FEATURE_ "+KMOD"
127 #define _KMOD_FEATURE_ "-KMOD"
131 #define _IDN2_FEATURE_ "+IDN2"
133 #define _IDN2_FEATURE_ "-IDN2"
137 #define _IDN_FEATURE_ "+IDN"
139 #define _IDN_FEATURE_ "-IDN"
142 #define _CGROUP_HIEARCHY_ "default-hierarchy=" DEFAULT_HIERARCHY_NAME
144 #define SYSTEMD_FEATURES \
146 _AUDIT_FEATURE_ " " \
147 _SELINUX_FEATURE_ " " \
149 _APPARMOR_FEATURE_ " " \
150 _SMACK_FEATURE_ " " \
151 _SYSVINIT_FEATURE_ " " \
153 _LIBCRYPTSETUP_FEATURE_ " " \
154 _GCRYPT_FEATURE_ " " \
155 _GNUTLS_FEATURE_ " " \
159 _SECCOMP_FEATURE_ " " \
160 _BLKID_FEATURE_ " " \
161 _ELFUTILS_FEATURE_ " " \