[Pkg-tcltk-devel] Bug#415478: tcl.m4 tclConfig.sh search paths

Sergei Golovan sgolovan at nes.ru
Wed Sep 19 12:27:34 UTC 2007


Jacob Bower wrote:
> The routines for finding tclConfig.sh in the autoconf tcl.m4 do not search
> the paths into which this package installs tclConfig.sh.
>
> Attached is a patch to fix this (it does not cover the likely similar Tk case).

Debian distribution includes two versions of Tcl package (tcl8.3 and
tcl8.4), the third, tcl8.5, will be packaged in near future. Their
development libraries may be installed simultaneously. And if we allow
to find tclConfig.sh using your patch we'll get undefined behavior,
where you'll never know in advance which Tcl library will be linked to
your application or extension.

I think that the current approach (using --with-tcl and
--with-tcl-includes) is more robust.

-- 
Sergei Golovan





More information about the Pkg-tcltk-devel mailing list