Re: Does --with-screen=slang add -lcurses ?



On Tue, 21 Jan 2003, Frédéric L. W. Meunier wrote:

> When I configure with --with-screen=slang (I use a static
> 1.4.8) on Cygwin I get
> 
> checking for setupterm in -lcurses... yes
> 
> during configure.
> 
> At link time:
> 
> gcc-2.exe -I/usr/include/glib-1.2 -I/usr/lib/glib/include -O2
> -Wall  -s -o mc.exe
> ...
> ../edit/libedit.a  ../vfs/libvfs-mc.a  -L/usr/lib -lglib -lslang -lcurses
> 
> I thought it was also linking in libncurses, but:

What makes you think that slang should have dependency on ncurses ? slang 
is an alternative to ncurses - you either use ncurses or slang, not both
at the same time. If you want to link against ncurses try passing 
--with-screen=ncurses to the configure script.

Are you asking just out of curiosity or there is some problem that you are 
trying to solve ?




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]