diff options
author | Glenn Morris <[email protected]> | 2012-04-30 20:30:11 -0400 |
---|---|---|
committer | Glenn Morris <[email protected]> | 2012-04-30 20:30:11 -0400 |
commit | 9311dcff1de585f39b16e07fbc5a9fb681a06642 (patch) | |
tree | c088999761bf51c27cfbb4c005509654f3a1f7c7 /src/dispnew.c | |
parent | 6eac8dc9ac4a6478b88a397a876c272b16c0facc (diff) |
Remove HAVE_LIBNCURSES; it is required to be true
Also, it was a confusing name, since it does not necessarily mean that
we literally have libncurses; rather that we have tputs etc.
* configure.in (HAVE_LIBNCURSES): Remove; it is required to be true.
* src/dispnew.c: Remove HAVE_LIBNCURSES test;
it is always true on relevant platforms.
* nt/config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r-- | src/dispnew.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index b313852efe..a50877a6a9 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -1,5 +1,6 @@ /* Updating of data structures for redisplay. - Copyright (C) 1985-1988, 1993-1995, 1997-2012 Free Software Foundation, Inc. + +Copyright (C) 1985-1988, 1993-1995, 1997-2012 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -87,7 +88,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #endif #endif /* not __GNU_LIBRARY__ */ -#if defined (HAVE_TERM_H) && defined (GNU_LINUX) && defined (HAVE_LIBNCURSES) +#if defined (HAVE_TERM_H) && defined (GNU_LINUX) #include <term.h> /* for tgetent */ #endif @@ -6303,7 +6304,7 @@ init_display (void) #ifdef HAVE_X11 Vwindow_system_version = make_number (11); #endif -#if defined (GNU_LINUX) && defined (HAVE_LIBNCURSES) +#ifdef GNU_LINUX /* In some versions of ncurses, tputs crashes if we have not called tgetent. So call tgetent. */ |