aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_access
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@strace.io>2024-08-25 08:00:00 +0000
committerDmitry V. Levin <ldv@strace.io>2024-08-25 08:00:00 +0000
commitaca37d3400e31ef01f3f79b64dd8660d872aaf8f (patch)
tree983f552d65ea84aac1c2e9de1617c6bfb4673897 /modules/pam_access
parentd2536800c523e8e1df140084d6b938b7bbf77dc3 (diff)
downloadpam-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_access')
-rw-r--r--modules/pam_access/pam_access.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/pam_access/pam_access.c b/modules/pam_access/pam_access.c
index 0540176e..f54b4b33 100644
--- a/modules/pam_access/pam_access.c
+++ b/modules/pam_access/pam_access.c
@@ -56,8 +56,8 @@
#include "pam_cc_compat.h"
#include "pam_inline.h"
-#define PAM_ACCESS_CONFIG (SCONFIGDIR "/access.conf")
-#define ACCESS_CONF_GLOB (SCONFIGDIR "/access.d/*.conf")
+#define PAM_ACCESS_CONFIG (SCONFIG_DIR "/access.conf")
+#define ACCESS_CONF_GLOB (SCONFIG_DIR "/access.d/*.conf")
#ifdef VENDOR_SCONFIGDIR
#define VENDOR_PAM_ACCESS_CONFIG (VENDOR_SCONFIGDIR "/access.conf")
#define VENDOR_ACCESS_CONF_GLOB (VENDOR_SCONFIGDIR "/access.d/*.conf")