On Wed, Nov 10, 2010 at 9:33 AM, Alexey I. Froloff <[email protected]> wrote: > On Wed, Nov 10, 2010 at 17:07, Bram Moolenaar <[email protected]> wrote: >> It's a bit more complicated than that. Checking for tinfo before >> ncurses might work on some machines. But does it work everywhere? Or >> do we need to add checks for what the library needs to contain?
If tinfo exists, then the symbols Vim uses will be there instead of in ncurses. AC_SEARCH_LIBS does look like the right way to check whether the system is using the split ncurses libs or the monolithic lib. > If you use symbols from a library, you must link your application against > this particular library, but not a library that is also linked against it. > > vim uses no symbols from libncurses itself, That obviously depends on how the libraries are built. Fedora/RedHat build ncurses using the --with-termlib configure option which splits the terminfo library out to its own file. I wonder how common that is and whether all the distributions which build with the split libraries use the same name. -- James GPG Key: 1024D/61326D40 2003-09-02 James Vega <[email protected]> -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
