Documentation error: USE_ZLIB versus HAVE_ZLIB

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Documentation error: USE_ZLIB versus HAVE_ZLIB

Kees Nuyt

Good morning!

Both
https://sqlite.org/cli.html#_do_it_yourself_builds_
and
https://sqlite.org/compile.html#use_zlib
mention option SQLITE_USE_ZLIB to enable _zipfile and _sqlar.
However, shell.c.in uses SQLITE_HAVE_ZLIB for this.
I think this is a documentation error.

checkout:
        7a0a26ed380dd0bdda50b0204b30b53bbbbc70f2
        2019-03-22 13:53:25 UTC
tags:
        trunk

 $ grep -n _USE_ZLIB src/*
(nothing)
 $ grep -n _HAVE_ZLIB src/*
src/shell.c.in:944:#ifdef SQLITE_HAVE_ZLIB
src/shell.c.in:3451:#if defined(SQLITE_HAVE_ZLIB) &&
!defined(SQLITE_OMIT_VIRTUALTABLE)
src/shell.c.in:4000:#ifdef SQLITE_HAVE_ZLIB
src/shell.c.in:5264:#if !defined(SQLITE_OMIT_VIRTUALTABLE) &&
defined(SQLITE_HAVE_ZLIB)
src/shell.c.in:5995:#endif /* !defined(SQLITE_OMIT_VIRTUALTABLE)
&& defined(SQLITE_HAVE_ZLIB) */
src/shell.c.in:6064:#if !defined(SQLITE_OMIT_VIRTUALTABLE) &&
defined(SQLITE_HAVE_ZLIB)
src/shell.c.in:6989:#ifdef SQLITE_HAVE_ZLIB
src/shell.c.in:8428:#if SQLITE_HAVE_ZLIB
src/shell.c.in:8835:#if defined(SQLITE_HAVE_ZLIB) &&
!defined(SQLITE_OMIT_VIRTUALTABLE)
src/shell.c.in:8883:#ifdef SQLITE_HAVE_ZLIB
src/shell.c.in:9165:#ifdef SQLITE_HAVE_ZLIB
src/shell.c.in:9179:#if !defined(SQLITE_OMIT_VIRTUALTABLE) &&
defined(SQLITE_HAVE_ZLIB)
src/shell.c.in:9268:#ifdef SQLITE_HAVE_ZLIB
src/shell.c.in:9374:#if !defined(SQLITE_OMIT_VIRTUALTABLE) &&
defined(SQLITE_HAVE_ZLIB)
src/test1.c:7181:#ifdef SQLITE_HAVE_ZLIB
src/test1.c:7209:#ifdef SQLITE_HAVE_ZLIB

--
Have a nice day,
Regards,

Kees Nuyt
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users