Description: |
(text/x-fossil-wiki)
In Debian, tclConfig.sh installs into /usr/lib/tcl8.?, with a symlink in /usr/lib for a default version. However, the default version symlink is present only if tcl-dev package is installed, while tcl8.* packages don't install it themselves.
It'd be cool if tcl.m4 checked those per-version locations too:
<verbatim>
From: Andrew Shadura <[email protected]>
As Debian supports multiple parallel installations of Tcl, allow using any available of them if no default selected.
--- a/tcl.m4
+++ b/tcl.m4
@@ -138,6 +138,7 @@
`ls -d /usr/contrib/lib 2>/dev/null` \
`ls -d /usr/lib 2>/dev/null` \
`ls -d /usr/lib64 2>/dev/null` \
+ `ls -d /usr/lib/tcl[[8-9]].[[0-9]] 2>/dev/null` \
; do
if test -f "$i/tclConfig.sh" ; then
ac_cv_c_tclconfig="`(cd $i; pwd)`"
</verbatim>
|