From 4841039e5385f264d12757903894f47c64f59361 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 5 Jan 2023 15:42:36 -0800 Subject: configure: add --disable-open-zfile instead of requiring -DNO_ZPIPE Documents the two compression options in the README, makes their configure options reflect the interdependency of their implementation, and makes the configure script report their configuration. Signed-off-by: Alan Coopersmith --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index adc83c8..7895350 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,18 @@ For patch submission instructions, see: https://www.x.org/wiki/Development/Documentation/SubmittingPatches +------------------------------------------------------------------------------ + +libXpm supports two optional features to handle compressed pixmap files. + +--enable-open-zfile makes libXpm recognize file names ending in .Z and .gz +and open a pipe to the appropriate command to compress the file when writing +and uncompress the file when reading. This is enabled by default on platforms +other than MinGW and can be disabled by passing the --disable-open-zfile flag +to the configure script. + +--enable-stat-zfile make libXpm search for a file name with .Z or .gz added +if it can't find the file it was asked to open. It relies on the +--enable-open-zfile feature to open the file, and is enabled by default +when --enable-open-zfile is enabled, and can be disabled by passing the +--disable-stat-zfile flag to the configure script. -- cgit v1.2.1