TclOO Package

View Ticket
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.
Ticket UUID: 86dccceffb66d7becae329793a43b95e0f586deb
Title: Fix processing of BUILD_TclOO directive for cross compilation
Type: Bug Version: 1.0.4
Submitter: erikleunissen Created on: 2017-06-18 09:09:22
Subsystem: 53. Configure and Build Tools Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2017-06-18 09:09:22
Resolution: None Closed By: nobody
    Closed on:
The preprocessor directive BUILD_TclOO doesn't end up in config.h, which breaks cross-building for windows platforms from linux using a cross gcc.

This patch provides a manually adapted, and a new regenerated from (by calling autoheader). The redundancy[*] that this patch introduces in the processing done by the resulting ./configure script is taken for granted.

The patch was produced against the head of the trunk at 17-jun-2017 (sha1: e5b56214c7d658e95d2af367ab82d7a96b5a9afb).

[*] ./configure script will now add the BUILD_TclOO directive twice to an intermediate file confdefs.h which is used to produce config.h. So be it, most users won't ever notice.