diff options
author | Dmitry V. Levin <ldv@strace.io> | 2024-08-25 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2024-08-25 08:00:00 +0000 |
commit | aca37d3400e31ef01f3f79b64dd8660d872aaf8f (patch) | |
tree | 983f552d65ea84aac1c2e9de1617c6bfb4673897 /modules/pam_namespace/pam_namespace.h | |
parent | d2536800c523e8e1df140084d6b938b7bbf77dc3 (diff) | |
download | pam-aca37d3400e31ef01f3f79b64dd8660d872aaf8f.tar.gz pam-aca37d3400e31ef01f3f79b64dd8660d872aaf8f.tar.bz2 pam-aca37d3400e31ef01f3f79b64dd8660d872aaf8f.zip |
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.
Diffstat (limited to 'modules/pam_namespace/pam_namespace.h')
-rw-r--r-- | modules/pam_namespace/pam_namespace.h | 8 |
1 files changed, 4 insertions, 4 deletions
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") |