build.h revision 816115863962548a9a0d9fbfe429c7f8e685beac
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#ifndef foobuildhfoo
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant#define foobuildhfoo
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant/***
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant This file is part of systemd.
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant Copyright 2010 Lennart Poettering
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant systemd is free software; you can redistribute it and/or modify it
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac under the terms of the GNU General Public License as published by
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac the Free Software Foundation; either version 2 of the License, or
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant (at your option) any later version.
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant systemd is distributed in the hope that it will be useful, but
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant WITHOUT ANY WARRANTY; without even the implied warranty of
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac General Public License for more details.
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac You should have received a copy of the GNU General Public License
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant along with systemd; If not, see <http://www.gnu.org/licenses/>.
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant***/
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant#ifdef HAVE_PAM
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant#define _PAM_FEATURE_ "+PAM"
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams#else
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant#define _PAM_FEATURE_ "-PAM"
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj#endif
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#ifdef HAVE_LIBWRAP
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#define _LIBWRAP_FEATURE_ "+LIBWRAP"
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj#else
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#define _LIBWRAP_FEATURE_ "-LIBWRAP"
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#endif
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#ifdef HAVE_AUDIT
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#define _AUDIT_FEATURE_ "+AUDIT"
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#else
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#define _AUDIT_FEATURE_ "-AUDIT"
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#endif
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#ifdef HAVE_SELINUX
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#define _SELINUX_FEATURE_ "+SELINUX"
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#else
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#define _SELINUX_FEATURE_ "-SELINUX"
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#endif
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#ifdef HAVE_IMA
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#define _IMA_FEATURE_ "+IMA"
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#else
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#define _IMA_FEATURE_ "-IMA"
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#endif
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#ifdef HAVE_SYSV_COMPAT
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#define _SYSVINIT_FEATURE_ "+SYSVINIT"
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#else
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#define _SYSVINIT_FEATURE_ "-SYSVINIT"
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#endif
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#ifdef HAVE_LIBCRYPTSETUP
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#define _LIBCRYPTSETUP_FEATURE_ "+LIBCRYPTSETUP"
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#else
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#define _LIBCRYPTSETUP_FEATURE_ "-LIBCRYPTSETUP"
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#endif
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#define SYSTEMD_FEATURES _PAM_FEATURE_ " " _LIBWRAP_FEATURE_ " " _AUDIT_FEATURE_ " " _SELINUX_FEATURE_ " " _IMA_FEATURE_ " " _SYSVINIT_FEATURE_ " " _LIBCRYPTSETUP_FEATURE_
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston#endif
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston