about summary refs log tree commit diff
path: root/support/support_paths.c
diff options
context:
space:
mode:
authorRomain Geissler <romain.geissler@gmail.com>2023-03-26 20:00:14 +0000
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-03-27 16:58:08 -0300
commit57ce87a940071a152a27e1e1be1dc9eced55ca6c (patch)
treeb162b5f730289210762213df947987a284c973d9 /support/support_paths.c
parent743963cad7cf12563f67368f9c5d279adc796d67 (diff)
downloadglibc-57ce87a940071a152a27e1e1be1dc9eced55ca6c.tar.gz
glibc-57ce87a940071a152a27e1e1be1dc9eced55ca6c.tar.xz
glibc-57ce87a940071a152a27e1e1be1dc9eced55ca6c.zip
support: introduce support_sysconfdir_prefix
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'support/support_paths.c')
-rw-r--r--support/support_paths.c7
1 files changed, 7 insertions, 0 deletions
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