Tk Source Code

View Ticket
Login
Ticket UUID: 2874745
Title: TEA 3.6 incompatible TK_INCLUDE_SPEC define
Type: Bug Version: obsolete: 8.6b1
Submitter: cwjolly Created on: 2009-10-08 14:16:29
Subsystem: 84. Unix Build Assigned To: stwo
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2026-10-22 17:22:39
Resolution: Invalid Closed By: serhiy.storchaka
    Closed on: 2026-10-20 17:51:42
Description:
TEA 3.6 defines  the include path to the Tk header files in TK_INCLUDES .  The Tk configuration file tkConfig.sh does not define TK_INCLUDES but rather TK_INCLUDE_SPEC.  As a result, compiles with TEA 3.6 fail for extensions that want to see TK_INCLUDE in the Makefile.in file. An example that uses TEA 3.6 is itclwidgets4.0.  Solution is to define both in the tkConfig.sh  and update the tcl.m4 file associated with TEA 3.6 to AC_SUBST both.
User Comments: serhiy.storchaka added on 2026-10-20 17:51:42:

tkConfig.sh does not need to define TK_INCLUDES: in TEA it is computed and substituted by TEA_PUBLIC_TK_HEADERS (and TEA_PRIVATE_TK_HEADERS), which have used TK_INCLUDE_SPEC from tkConfig.sh to find tk.h since tclconfig 8803659fc8 (March 2009). An extension which uses @TK_INCLUDES@ in its Makefile.in must call TEA_PUBLIC_TK_HEADERS in its configure.ac.