This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfa] configure check for curses library
> Date: Sat, 15 May 2004 22:17:48 -0700
> From: Randolph Chung <randolph@tausq.org>
>
> on this particular HPUX system where i'm doing the gdb build,
> there are both ncurses headers and native HPUX curses headers. The
> include search path for GCC is such that the build
> picks up the ncurses curses.h header which does the wattron() ->
> wattr_on() translation. :-(
>
> so i guess my fix is not really correct; we should make configure use
> the correct header. But how?
Your idea might still be correct, if we could find a symbol that isn't
in termcap library (nor in any other library) and isn't converted by
some preprocessor macro.