[CDRIVER-2326] Can't disable zlib, although ./configure --help says I can Created: 13/Oct/17  Updated: 28/Oct/23  Resolved: 16/Oct/17

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: 1.8.1
Fix Version/s: 1.8.2, 1.9.0

Type: Bug Priority: Major - P3
Reporter: Derick Rethans Assignee: Derick Rethans
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CDRIVER-2292 --with-zlib or --with-snappy does not... Closed

 Description   

When I run:

./configure --with-snappy=no --with-zlib=no

I get:

configure: error: Invalid --with-zlib option: must be system, bundled, or auto.

Although ./configure --help says:

derick@singlemalt:~/dev/mongodb-mongo-c-driver $ ./configure --help | grep zlib
  --with-zlib=[auto/system/bundled/no]
                          use system installed zlib or bundled zlib.
  zlib_CFLAGS C compiler flags for zlib, overriding pkg-config
  zlib_LIBS   linker flags for zlib, overriding pkg-config



 Comments   
Comment by A. Jesse Jiryu Davis [ 24/Oct/17 ]

https://github.com/mongodb/mongo-c-driver/commit/30efe8556ad5695f7d337e2fb9ba62a809735745

Comment by Derick Rethans [ 13/Oct/17 ]

https://github.com/mongodb/mongo-c-driver/pull/456

Generated at Wed Feb 07 21:14:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.