From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii To: Randolph Chung Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfa] configure check for curses library Date: Sun, 16 May 2004 05:43:00 -0000 Message-id: References: <20040515180123.GP566@tausq.org> <20040516051748.GG566@tausq.org> X-SW-Source: 2004-05/msg00457.html > Date: Sat, 15 May 2004 22:17:48 -0700 > From: Randolph Chung > > 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.