Configure: Rename setting DEFSDATADIR to PKGCONFDIR

Directory /etc/WindowMaker is for global defaults configuration, it is not
a "data" folder which is $PREFIX/share/WindowMaker.

The name change make it more consistent with other names.
This commit is contained in:
John D Pell
2021-08-10 09:42:43 +01:00
committed by Carlos R. Mafra
parent 85169642ca
commit 24f5b32469
9 changed files with 24 additions and 22 deletions
+2 -2
View File
@@ -116,9 +116,9 @@ char *wglobaldefaultspathfordomain(const char *domain)
char *t = NULL;
size_t len;
len = strlen(DEFSDATADIR) + strlen(domain) + 2;
len = strlen(PKGCONFDIR) + strlen(domain) + 2;
t = wmalloc(len);
snprintf(t, len, "%s/%s", DEFSDATADIR, domain);
snprintf(t, len, "%s/%s", PKGCONFDIR, domain);
return t;
}