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_pwhistory/opasswd.c | 2 +- modules/pam_pwhistory/pwhistory_config.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/pam_pwhistory') diff --git a/modules/pam_pwhistory/opasswd.c b/modules/pam_pwhistory/opasswd.c index 289b4461..d291761b 100644 --- a/modules/pam_pwhistory/opasswd.c +++ b/modules/pam_pwhistory/opasswd.c @@ -76,7 +76,7 @@ #define RANDOM_DEVICE "/dev/urandom" #endif -#define DEFAULT_OLD_PASSWORDS_FILE SCONFIGDIR "/opasswd" +#define DEFAULT_OLD_PASSWORDS_FILE SCONFIG_DIR "/opasswd" typedef struct { char *user; diff --git a/modules/pam_pwhistory/pwhistory_config.c b/modules/pam_pwhistory/pwhistory_config.c index 2f299b54..296a7110 100644 --- a/modules/pam_pwhistory/pwhistory_config.c +++ b/modules/pam_pwhistory/pwhistory_config.c @@ -46,7 +46,7 @@ #include "pam_inline.h" #include "pwhistory_config.h" -#define PWHISTORY_DEFAULT_CONF SCONFIGDIR "/pwhistory.conf" +#define PWHISTORY_DEFAULT_CONF SCONFIG_DIR "/pwhistory.conf" #ifdef VENDOR_SCONFIGDIR #define VENDOR_PWHISTORY_DEFAULT_CONF (VENDOR_SCONFIGDIR "/pwhistory.conf") -- cgit v1.2.3