From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26446 invoked by alias); 24 Feb 2004 23:34:59 -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 26439 invoked from network); 24 Feb 2004 23:34:58 -0000 Received: from unknown (HELO localhost.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 24 Feb 2004 23:34:58 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 7866B2B92; Tue, 24 Feb 2004 18:34:56 -0500 (EST) Message-ID: <403BDFA0.5000504@gnu.org> Date: Tue, 24 Feb 2004 23:34:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA/RFC] (hppa/tui) Fix build failure due to missing wborder References: <20040223220334.GH1273@gnat.com> In-Reply-To: <20040223220334.GH1273@gnat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-02/txt/msg00707.txt.bz2 > Hello, > > Re: http://sources.redhat.com/ml/gdb-patches/2004-02/msg00654.html > > On HP/UX, the GDB build fails during the link due to a missing wborder. > I found the symbol in libcur_colr.sl. To fix the build, I suggest the > following change, although I could conceive that this is not the best > way of handling this. Comments and suggestions warmly welcome. [ditto ...] > 2004-02-23 J. Brobecker > > * configure.in (LIBS): Add -lcur_colr when TUI is enabled and > when using the HP curses library. > * configure: Regenerate. > > Tested on HP/UX 11.00, and x86-linux. I wonder, should configure be checking that wborder can be found with something like: AC_SEARCH_LIBS(wborder, [ncurses Hcurses cur_colr curses pdcurses], [], [AC_MSG_WARN([no library containing wborder found])]) and then just test that both ac_cv_search_initscr and ac_cv_search_wborder are not "no"? Andrew