[Pkg-tcltk-devel] tcl8.6-dev: tclPort.h

Sergei Golovan sgolovan at nes.ru
Mon Mar 17 09:17:09 UTC 2014


Hi Ole,

On Mon, Mar 17, 2014 at 1:05 PM, Оlе Ѕtrеісhеr
<debian-devel at liska.ath.cx> wrote:
> Sergei Golovan <sgolovan at nes.ru> writes:
>> It was an upstream decision (I don't know why). Currently to use
>> tclInt.h you'll have to add -I<whatever>/unix to your gcc command
>> line. I did maintain a patch which reverted this change for a while,
>> but now I don't see the point for diversion from upstream.
>
> Is there an autoconfig macro that does this for me? Currently, my
> package includes an (old, and probably outdated) TEA tcl.m4. Is it worth
> to use this bug to rewrite it for using /usr/share/aclocal/tcl8.6.m4?

Afaik, there's no such a macro. There is a macro which gives the Tcl "source"
directory (SC_LOAD_TCLCONFIG substitutes the variable TCL_SRC_DIR from
tclConfig.sh),
but you'll have to add something like -I$(TCL_SRC_DIR)/generic
-I$(TCL_SRC_DIR)/unix
to your makefiles by yourself.

Cheers!
-- 
Sergei Golovan



More information about the Pkg-tcltk-devel mailing list