[PATCH] build-aux/tcltk.m4: Simplify tclConfig.sh searching

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] build-aux/tcltk.m4: Simplify tclConfig.sh searching

Lee Duhem
Hi,

Even if my building system already has tclConfig.sh, configure script
still cannot find it,
because it is looking at the wrong places.

According to Tcl wiki article [1], the following Tcl code can give the
location of tclConfig.sh
directly:

[::tcl::pkgconfig get libdir,install]

So we can use it to simplify the searching rules in build-aux/tcltk.m4.

Tested on Fedora 25 and Ubuntu 14.04, looks like working on both systems.

Regards,
libin

ChangeLog

+2017-02-27  Lee Duhem  <[hidden email]>
+
+ * build-aux/tcltk.m4: Simplify tclConfig.sh searching


[1] http://wiki.tcl.tk/12968

_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

0001-build-aux-tcltk.m4-Simplify-tclConfig.sh-searching.patch (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] build-aux/tcltk.m4: Simplify tclConfig.sh searching

Holger Freyther

> On 27 Feb 2017, at 09:19, Lee Duhem <[hidden email]> wrote:
>
> Hi,
>
> Even if my building system already has tclConfig.sh, configure script
> still cannot find it,
> because it is looking at the wrong places.
>
> According to Tcl wiki article [1], the following Tcl code can give the
> location of tclConfig.sh
> directly:
>
> [::tcl::pkgconfig get libdir,install]
>
> So we can use it to simplify the searching rules in build-aux/tcltk.m4.
>

thank you. applied. Let's how this goes :)

holger


_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk