From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16385 invoked by alias); 11 Feb 2004 15:55:51 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 16270 invoked from network); 11 Feb 2004 15:55:48 -0000 Received: from unknown (HELO localhost.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 11 Feb 2004 15:55:48 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 9619B2B92; Wed, 11 Feb 2004 10:55:46 -0500 (EST) Message-ID: <402A5082.5000502@gnu.org> Date: Wed, 11 Feb 2004 15:55:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 MIME-Version: 1.0 To: Bob Rossi , Michael Elizabeth Chastain Cc: eliz@elta.co.il, gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Build TUI when curses References: <20040211151816.7B88F4B104@berman.michael-chastain.com> <20040211154331.GC2395@white> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-02/txt/msg00296.txt.bz2 > 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