summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac2
-rw-r--r--large/Makefile.am2
3 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 2c9f5b6..d6c961a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -55,7 +55,7 @@ endif
SUFFIXES = .enc .enc.gz
.enc.enc.gz:
- $(AM_V_GEN)$(GZIP) -c < $< > $@
+ $(AM_V_GEN)$(GZIP) $(COMPRESS_FLAGS) -c < $< > $@
encodings.dir: $(DATA_FILES)
$(AM_V_GEN)$(MKFONTSCALE) -b -s -l -n -r -p $(encodingsdir) -e . -e large .
diff --git a/configure.ac b/configure.ac
index a51b8ca..c9e40f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,6 +42,8 @@ if test x$GZIP_SMALL = xyes -o x$GZIP_LARGE = xyes ; then
if [[ -z $GZIP ]]; then
AC_MSG_ERROR([gzip is needed to compress font encodings])
fi
+ COMPRESS_FLAGS="${COMPRESS_FLAGS--n}"
+ AC_SUBST([COMPRESS_FLAGS])
fi
XORG_FONTSUBDIR([ENCODINGSDIR], [encodingsdir], [encodings])
diff --git a/large/Makefile.am b/large/Makefile.am
index 32e03bc..cc5410e 100644
--- a/large/Makefile.am
+++ b/large/Makefile.am
@@ -34,7 +34,7 @@ endif
SUFFIXES = .enc .enc.gz
.enc.enc.gz:
- $(AM_V_GEN)$(GZIP) -c < $< > $@
+ $(AM_V_GEN)$(GZIP) $(COMPRESS_FLAGS) -c < $< > $@
encodings.dir: $(DATA_FILES)
$(AM_V_GEN)$(MKFONTSCALE) -b -s -l -n -r -p $(encodingsdir) -e . .