From b3ed399f1cce511c5a21b08d2b0fffeb615a4333 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 29 Dec 2015 11:37:16 +0100 Subject: Clean up build system --- text.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'text.c') diff --git a/text.c b/text.c index 2de96b8..da14209 100644 --- a/text.c +++ b/text.c @@ -24,10 +24,10 @@ #include #include #include -#ifdef HAVE_ACL +#if CONFIG_ACL #include #endif -#ifdef HAVE_SELINUX +#if CONFIG_SELINUX #include #endif @@ -786,7 +786,7 @@ time_t text_state(Text *txt) { } static bool preserve_acl(int src, int dest) { -#ifdef HAVE_ACL +#if CONFIG_ACL acl_t acl = acl_get_fd(src); if (!acl) return errno == ENOTSUP ? true : false; @@ -795,12 +795,12 @@ static bool preserve_acl(int src, int dest) { return false; } acl_free(acl); -#endif /* HAVE_ACL */ +#endif /* CONFIG_ACL */ return true; } static bool preserve_selinux_context(int src, int dest) { -#ifdef HAVE_SELINUX +#if CONFIG_SELINUX char *context = NULL; if (!is_selinux_enabled()) return true; @@ -811,7 +811,7 @@ static bool preserve_selinux_context(int src, int dest) { return false; } freecon(context); -#endif /* HAVE_SELINUX */ +#endif /* CONFIG_SELINUX */ return true; } -- cgit v1.2.3