James Vega wrote:

> 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.

Thanks for the patch.  Please let me know if it works.

> +     tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver 
> /usr/local/include /usr/include /usr/include/tcl$tclver"

Perhaps we should also check /usr/local/include/tcl$tclver ?


-- 
If they don't keep on exercising their lips, he thought, their brains
start working.
                -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui