Solus, like apparently OpenMandriva and potentially other Linux distros, carries a glibc patch to compress charmaps with zstd instead of gzip. While neat this leads to a build failure for m17n-db. This patch adds support for .zst charmap files to
configure.ac by expanding the logic already used for .gz charmaps
---
configure.ac | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/
configure.ac b/
configure.acindex 5abde50..a3fc526 100644
--- a/
configure.ac+++ b/
configure.ac@@ -65,7 +65,10 @@ else :
fi
if test "x$CHARMAPS" != "x"; then
- if test -r "$CHARMAPS/EUC-JP.gz"; then
+ if test -r "$CHARMAPS/EUC-JP.zst"; then
+ CHARMAP_EXT=".zst"
+ CHARMAP_CAT="zstdcat"
+ elif test -r "$CHARMAPS/EUC-JP.gz"; then
CHARMAP_EXT=".gz"
CHARMAP_CAT="zcat"
elif test -r "$CHARMAPS/EUC-JP"; then