This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch/rfa] configure check for curses library


> so i guess my fix is not really correct; we should make configure use
> the correct header. But how?

We had a similar discussion about alpha*-dec-osf5.1 recently.

I think the right approach is to use 'curses' by default and
let the user specify a --with-curses option if their curses library
is located somewhere else.  Perhaps --with-curses-header=...
and --with-curses-library=....

configure will never be smart enough to distinguish all the cases
of which curses library is installed and whether it is correctly
installed.  Plus there are cases where the user actually wants to
specify their own specific curses library (like I build ncurses 5.4
from source and I want to use that).

Daniel J pointed out that one can override CPPFLAGS and LDFLFAGS
to get this effect, and I filed a PR that this mechanism does
not work.

Michael C


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]