This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA/RFC] (hppa/tui) Fix build failure due to missing wborder
- From: Andrew Cagney <cagney at gnu dot org>
- To: Joel Brobecker <brobecker at gnat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 24 Feb 2004 18:34:56 -0500
- Subject: Re: [RFA/RFC] (hppa/tui) Fix build failure due to missing wborder
- References: <20040223220334.GH1273@gnat.com>
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 <brobecker@gnat.com>
* 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