]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
Build fixes tcl commands (#817)
authormedranocalvo <amcalvo@prs.de>
Tue, 12 Sep 2017 12:00:21 +0000 (14:00 +0200)
committerTobias Oetiker <tobi@oetiker.ch>
Tue, 12 Sep 2017 12:00:21 +0000 (14:00 +0200)
commite35d46043afe8aa201191be01748c39e05a14085
tree48914f220ad13f28d3a94b15a3cad806f8876d46
parent47ce49adf2be4844c8671f94312f04408c2b46b0
Build fixes tcl commands (#817)

* Link to gthread-2.0 when g_thread_init needs to be invoked

See https://developer.gnome.org/glib/stable/glib-Deprecated-Thread-APIs.html#g-thread-init:

> To use g_thread_init() in your program, you have to link
> with the libraries that the command `pkg-config --libs
> gthread-2.0` outputs. This is not the case for all the other
> thread-related functions of GLib. Those can be used without having to
> link with the thread libraries.

* Support building in a separate directory

* bindings/tcl/Makefile.am: use a relative path to the shlib in pkgIndex.tcl

* Add rrd_info support in Tcl bindings

* Add rrd_first support in Tcl bindings

* Fix memory leak in Rrd_Lastupdate
bindings/tcl/Makefile.am
bindings/tcl/tclrrd.c
configure.ac
src/Makefile.am