1 diff -urN emacs-22.1.org/configure.in emacs-22.1/configure.in
2 --- emacs-22.1.org/configure.in 2007-05-25 14:43:29.000000000 +0200
3 +++ emacs-22.1/configure.in 2007-06-10 16:55:37.848243540 +0200
5 # That is because we have not set up to link ncurses in lib-src.
6 # It's better to believe a function is not available
7 # than to expect to find it in ncurses.
8 -AC_CHECK_LIB(ncurses, tparm)
9 +AC_CHECK_LIB(tinfo, tparm)
11 # Do we need the Hesiod library to provide the support routines?
12 if test "$with_hesiod" = yes ; then
13 --- emacs-22.1/src/s/gnu-linux.h.old 2007-06-10 20:13:53.376467108 +0200
14 +++ emacs-22.1/src/s/gnu-linux.h 2007-06-10 20:17:32.624547726 +0200
16 /* Paul Abrahams <abrahams@equinox.shaysnet.com> says this is needed. */
17 #define LIB_MOTIF -lXm -lXpm
19 -#ifdef HAVE_LIBNCURSES
22 -#define LIBS_TERMCAP -lncurses
23 +#define LIBS_TERMCAP -ltinfo