Tcl Source Code

View Ticket
Login
Ticket UUID: 1210ec842436857da5ff79448cb0a59acb01cb73
Title: Remove HAVE_ZLIB
Type: Bug Created on: 2024-09-18 15:33:54
Submitter: dkf Assigned to: dkf
Subsystem: 57. zlib Severity: Cosmetic
Priority: 3 Low Last modified: 2024-10-13 13:32:00
Status: Closed Closed by: jan.nijtmans
Resolution: Fixed Closed on: 2024-10-13 13:32:00
Version: 9.0
Description:

Branch: always-zlib

It appears that we always define the symbol HAVE_ZLIB in Tcl builds now, on all platforms. If that's really so, we might as well remove the other alternates from the code guarded by that macro (as there's no real way to test them, or need to do so either). The branch does that.

Note that the branch needs a rebuild of configure in unix and win; I don't trust my tools to do that.

User Comments:
jan.nijtmans added on 2024-10-09 16:39:55:

> I don't trust my tools to do that.

Just use latest autoconf (2.72), it does the right thing out-of-the-box

I agree that HAVE_ZLIB makes no sense any more, even more now that we have zipfs. So I updated your [`always-zlib`](https://core.tcl-lang.org/tcl/timeline?r=always-zlib) branch


jan.nijtmans added on 2024-10-13 13:32:00:

Fixed [0066eacd87e1d7da|here]