Port to GNU/Linux systems with tinfo but not ncurses.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 23 Jul 2013 08:08:57 +0000 (09:08 +0100)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 23 Jul 2013 08:08:57 +0000 (09:08 +0100)
commita29c3e6db03a411f1a09baff72f87650f9a8798f
treeb6b6df5f0cea38390c4a4da43fd701fb110c2ae0
parentf274311c2cad468abbe4bdbb25362e2fe6ccb5c2
Port to GNU/Linux systems with tinfo but not ncurses.

* configure.ac (USE_NCURSES): New symbol.
* src/dispnew.c (init_display): Depend on USE_NCURSES, not GNU_LINUX,
to decide whether ncurses is being used.  Without this change,
GCC complains about tgetent not being declared, on a system
that has tinfo installed but ncurses not installed.
ChangeLog
configure.ac
src/ChangeLog
src/dispnew.c