On Wed, Nov 10, 2010 at 13:49, Bram Moolenaar <b...@moolenaar.net> wrote: > So, it turns out that --as-needed cannot replace the old method from > link.sh completely. link.sh is a hack, while --as-needed checks symbol usage.
> Since different systems put different things in libraries, and ncurses > is especially unpredictable, how would a configure check for -ltinfo > work? Could we always add -ltinfo when it's available, and then let > --as-needed skip ncurses when nothing is used from there? This is what autoconf was created for: AC_SEARCH_LIBS([tgetflag], [tinfo other different libraries ncurses]) And appropriate option will be added to LIBS. -- Regards, Sir Raorn. -- 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