Don't use windows-termcap.c when linking against a curses library
authorEli Zaretskii <eliz@gnu.org>
Mon, 19 Jan 2015 15:34:29 +0000 (16:34 +0100)
committerJoel Brobecker <brobecker@adacore.com>
Mon, 19 Jan 2015 15:35:11 +0000 (16:35 +0100)
commit63413d85873c450fa4ed2494f21fb1a65bdaf554
tree53d1be7fc9e9447ab0575c712babb896ce4f6c21
parent1f99f6d0689d20db44c0c7d88e8af1ebe900d187
Don't use windows-termcap.c when linking against a curses library

gdb/
2015-01-17  Eli Zaretskii  <eliz@gnu.org>

        * configure.ac [*mingw32*]: Only add windows-termcap.o to
        CONFIG_OBS if not building with a curses library.
        * configure: Regenerate.

        * windows-termcap.c: Include defs.h.  Make the whole body empty if
        either one of HAVE_CURSES_H or HAVE_NCURSES_H or
        HAVE_NCURSES_NCURSES_H is defined.
gdb/ChangeLog
gdb/configure
gdb/configure.ac
gdb/windows-termcap.c