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_env/pam_env.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/pam_env') 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 -- cgit v1.2.3