[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV C++/C mix
From: |
Klaus Weide |
Subject: |
Re: LYNX-DEV C++/C mix |
Date: |
Sun, 17 Aug 1997 08:41:03 -0500 (CDT) |
One recent change in the development code:
* Added code in HTFWriter.c, HTFile.c, and HTFormat.c to support reading
of gzipped local files directly, using functions from the zlib library.
Note that gzipped files from remote servers are still first copied to
a temporary file before lynx can process them further, and an external
GZIP_PATH command is still needed at least for passing such files to an
external viewer, as well as for various DIRED_SUPPORT File menu functions.
To activate this code, the symbol USE_ZLIB has to be defined, it is
currently not set by the auto-config script. The zlib library may be
already installed on your system (probably called libz.a or libz.so.1
or similar, the required header files are zlib.h and zconf.h), otherwise
it is available through <http://www.cdrom.com/pub/infozip/zlib/>, it
appears to support all platforms for which lynx is available (including
VMS, DOS, MS Win32). Note that this library would probably also be
needed if in the future support for the HTTP/1.1 "deflate" content-coding
is added. - KW
Tom, could you come up with a configure test for this?
There is also a consistency check that could be done, see the
comment after
extern const char * EXPORT zlibVersion OF((void));
in zlib.h.
On sol, I have currently just
- added -lz to the top level makefile generated by configure
- invoked make as make CC="gcc -DUSE_ZLIB"
- I also have to set LD_LIBRARY_PATH for running lynx
Possibly there should also be an explicit --disable or --enable
switch, in case of problems.
Klaus
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;