[patch/rfc] Build TUI when curses

Andrew Cagney cagney@gnu.org
Wed Feb 11 15:55:00 GMT 2004


> On Wed, Feb 11, 2004 at 10:18:16AM -0500, Michael Elizabeth Chastain wrote:
> 
>> If there is no curses library, then readline won't build, so it's okay
>> for gdb to require curses as well (until someone reorganizes gdb so that
>> it can be built without readline).
> 
> 
> Are you sure readline requires curses to build?
> 
> This is in readline's ./configure --help
> Optional Packages:
> --with-curses           use the curses library instead of the termcap
>                           library
> 
> Also, this is from readline's INSTALL file,
> 
> `--with-curses'
>     This tells readline that it can find the termcap library functions
>     (tgetent, et al.) in the curses library, rather than a separate
>     termcap library.  Readline uses the termcap functions, but does not
>     link with the termcap or curses library itself, allowing applications
>     which link with readline the to choose an appropriate library.
>     This option tells readline to link the example programs with the
>     curses library rather than libtermcap.

That matches my reading of GDB's configure.in (look for "termcap").

Andrew




More information about the Gdb-patches mailing list