This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: Zlib patch to optionally compile gzio.c
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Peter Korsgaard <jacmet at sunsite dot dk>
- Cc: ecos-patches at ecos dot sourceware dot org
- Date: Sun, 16 Oct 2005 13:44:42 +0200
- Subject: Re: Zlib patch to optionally compile gzio.c
- References: <87ll0u76tj.fsf@p4.48ers.dk>
On Sun, Oct 16, 2005 at 12:29:12AM +0200, Peter Korsgaard wrote:
> Hi,
>
> The following patch adds a CDL option (CYGFUN_COMPRESS_ZLIB_GZIO) to
> optionally compile the stdio-like utility functions in gzio.c which
> aren't normally compiled.
Thanks
I modified you CDL a little bit, adding a few more requires statements.
cdl_option CYGFUN_COMPRESS_ZLIB_GZIO {
display "Include stdio-like utility functions"
flavor bool
requires CYGINT_ISO_STDIO_FILEPOS
requires CYGINT_ISO_STRING_STRFUNCS
requires CYGINT_ISO_STDIO_FORMATTED_IO
requires CYGINT_ISO_STDIO_FILEACCESS
default_value { CYGPKG_LIBC_STDIO_OPEN ? 1 : 0 }
compile gzio.c
description "
This option enables the stdio-like zlib utility functions
(gzread/gzwrite and friends) provided in gzio.c."
}
Andrew