On Tue, Feb 12, 2008 at 08:40:35PM -0500, Taylor Venable wrote: > > On Tue, 2008-02-12 at 21:26 +0100, Bram Moolenaar wrote: > > So, is $TCL_INC something that the tcl shell always uses? My manual > > page for tclsh doesn't mention it. > > I'm not sure, but the configure script checks for it. > > I was actually a little surprised, because I thought the configure > script would find /usr/include/tcl8.4 on my Debian testing system, but > it didn't for some reason. So I read the configure script and found > that it recognizes TCL_INC.
Well, that's due to the Tcl maintainers in Debian deciding to move the arch-independent files under /usr/share. This breaks the way that Vim's configure script checks for Tcl. I'm using the attached patch to the Debian Vim packages will detect Tcl and build with it. James -- GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>
Index: vim/src/auto/configure
===================================================================
--- vim/src/auto/configure.orig
+++ vim/src/auto/configure
@@ -4669,7 +4669,7 @@
echo "$as_me:$LINENO: checking for location of Tcl include" >&5
echo $ECHO_N "checking for location of Tcl include... $ECHO_C" >&6
if test "x$MACOSX" != "xyes"; then
- tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include /usr/include"
+ tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include /usr/include /usr/include/tcl$tclver"
else
tclinc="/System/Library/Frameworks/Tcl.framework/Headers"
fi
signature.asc
Description: Digital signature
