aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_env/pam_env.c
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_env/pam_env.c
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_env/pam_env.c')
-rw-r--r--modules/pam_env/pam_env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_env/pam_env.c b/modules/pam_env/pam_env.c
index 1bb7b2c3..8b499e5f 100644
--- a/modules/pam_env/pam_env.c
+++ b/modules/pam_env/pam_env.c
@@ -52,7 +52,7 @@ typedef struct var {
#define DEFAULT_USER_ENVFILE ".pam_environment"
#define DEFAULT_USER_READ_ENVFILE 0
-#define DEFAULT_CONF_FILE (SCONFIGDIR "/pam_env.conf")
+#define DEFAULT_CONF_FILE (SCONFIG_DIR "/pam_env.conf")
#ifdef VENDOR_SCONFIGDIR
#define VENDOR_DEFAULT_CONF_FILE (VENDOR_SCONFIGDIR "/pam_env.conf")
#endif