From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13661 invoked by alias); 25 Feb 2004 01:18:11 -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 13654 invoked from network); 25 Feb 2004 01:18:11 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (209.53.17.20) by sources.redhat.com with SMTP; 25 Feb 2004 01:18:11 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 1199847D62; Tue, 24 Feb 2004 17:18:11 -0800 (PST) Date: Wed, 25 Feb 2004 01:18:00 -0000 From: Joel Brobecker To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA/RFC] (hppa/tui) Fix build failure due to missing wborder Message-ID: <20040225011811.GG542@gnat.com> References: <20040223220334.GH1273@gnat.com> <403BDFA0.5000504@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <403BDFA0.5000504@gnu.org> User-Agent: Mutt/1.4i X-SW-Source: 2004-02/txt/msg00710.txt.bz2 > 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"? That's something I thought about, but then what happens if we found both initscr and wborder in the same library, for instance "ncurses". We would probably end up linking with the same -l<...> switch twice. Not very elegant. Would you prefer this approach, though? I figured that, since Hcurses is already HPUX-specific AFAIK, we might as well take advantage of that knowledge and add -lcur_colr as I did. On the other hand, mutter something about HP eventually finding their way to the bright side of the force and putting wborder back inside Hcurses... I prefer your suggestion too, shall I go ahead? Any objection? -- Joel