1 --- emacs/configure.in.~1.351.2.41.~ 2007-01-30 23:22:40.000000000 +0100
2 +++ emacs/configure.in 2007-02-04 18:21:21.000000000 +0100
4 # That is because we have not set up to link ncurses in lib-src.
5 # It's better to believe a function is not available
6 # than to expect to find it in ncurses.
7 -AC_CHECK_LIB(ncurses, tparm)
8 +AC_CHECK_LIB(tinfo, tparm)
10 # Do we need the Hesiod library to provide the support routines?
11 if test "$with_hesiod" = yes ; then
12 --- emacs/src/dispnew.c.~1.318.2.33.~ 2007-01-26 07:15:07.000000000 +0100
13 +++ emacs/src/dispnew.c 2007-02-04 18:23:44.000000000 +0100
16 #endif /* not __GNU_LIBRARY__ */
18 -#if defined(HAVE_TERM_H) && defined (GNU_LINUX) && defined (HAVE_LIBNCURSES)
19 +#if defined(HAVE_TERM_H) && defined (GNU_LINUX) && defined (HAVE_LIBTINFO)
20 #include <term.h> /* for tgetent */
25 Vwindow_system_version = make_number (10);
27 -#if defined (GNU_LINUX) && defined (HAVE_LIBNCURSES)
28 +#if defined (GNU_LINUX) && defined (HAVE_LIBTINFO)
29 /* In some versions of ncurses,
30 tputs crashes if we have not called tgetent.
32 --- emacs/src/s/gnu-linux.h.~1.88.2.10.~ 2007-01-26 07:15:24.000000000 +0100
33 +++ emacs/src/s/gnu-linux.h 2007-02-04 18:24:44.000000000 +0100
35 /* Paul Abrahams <abrahams@equinox.shaysnet.com> says this is needed. */
36 #define LIB_MOTIF -lXm -lXpm
38 -#ifdef HAVE_LIBNCURSES
41 -#define LIBS_TERMCAP -lncurses
42 +#define LIBS_TERMCAP -ltinfo