From aca37d3400e31ef01f3f79b64dd8660d872aaf8f Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sun, 25 Aug 2024 08:00:00 +0000 Subject: build: rename SCONFIGDIR config.h macro to SCONFIG_DIR This way it is visibly different from the configure variable SCONFIGDIR, which is helpful, because their values are slightly different: the macro is quoted while the configure variable is not quoted, and this difference may cause problems with other build systems. --- modules/pam_namespace/pam_namespace.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/pam_namespace') diff --git a/modules/pam_namespace/pam_namespace.h b/modules/pam_namespace/pam_namespace.h index fd393d17..bff28485 100644 --- a/modules/pam_namespace/pam_namespace.h +++ b/modules/pam_namespace/pam_namespace.h @@ -90,10 +90,10 @@ /* * Module defines */ -#define PAM_NAMESPACE_CONFIG (SCONFIGDIR "/namespace.conf") -#define NAMESPACE_INIT_SCRIPT (SCONFIGDIR "/namespace.init") -#define NAMESPACE_D_DIR (SCONFIGDIR "/namespace.d/") -#define NAMESPACE_D_GLOB (SCONFIGDIR "/namespace.d/*.conf") +#define PAM_NAMESPACE_CONFIG (SCONFIG_DIR "/namespace.conf") +#define NAMESPACE_INIT_SCRIPT (SCONFIG_DIR "/namespace.init") +#define NAMESPACE_D_DIR (SCONFIG_DIR "/namespace.d/") +#define NAMESPACE_D_GLOB (SCONFIG_DIR "/namespace.d/*.conf") #ifdef VENDOR_SCONFIGDIR #define VENDOR_NAMESPACE_INIT_SCRIPT (VENDOR_SCONFIGDIR "/namespace.init") #define VENDOR_PAM_NAMESPACE_CONFIG (VENDOR_SCONFIGDIR "/namespace.conf") -- cgit v1.2.3