From 57ce87a940071a152a27e1e1be1dc9eced55ca6c Mon Sep 17 00:00:00 2001 From: Romain Geissler Date: Sun, 26 Mar 2023 20:00:14 +0000 Subject: support: introduce support_sysconfdir_prefix Reviewed-by: Adhemerval Zanella --- support/support_paths.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'support/support_paths.c') diff --git a/support/support_paths.c b/support/support_paths.c index f9d75998cf..0710bcd412 100644 --- a/support/support_paths.c +++ b/support/support_paths.c @@ -92,3 +92,10 @@ const char support_complocaledir_prefix[] = COMPLOCALEDIR_PATH; #else # error please -DCOMPLOCALEDIR_PATH=something in the Makefile #endif + +#ifdef SYSCONFDIR_PATH +/* Corresponds to the install's etc/ directory. */ +const char support_sysconfdir_prefix[] = SYSCONFDIR_PATH; +#else +# error please -DSYSCONFDIR_PATH=something in the Makefile +#endif -- cgit v1.2.3