]>
Commit | Line | Data |
---|---|---|
91c92e05 | 1 | --- ./nano-1.9.99pre2/src/nano.h.orig 2006-08-22 20:48:13.000000000 +0200 |
2 | +++ ./nano-1.9.99pre2/src/nano.h 2006-09-14 00:10:39.000000000 +0200 | |
3 | @@ -71,6 +71,8 @@ | |
e1af6ded | 4 | /* Ncurses support. */ |
91c92e05 | 5 | #elif defined(HAVE_NCURSES_H) |
6 | #include <ncurses.h> | |
98947974 | 7 | +#elif defined(HAVE_NCURSES_NCURSES_H) |
8 | +#include <ncurses/ncurses.h> | |
e1af6ded | 9 | #else |
10 | /* Curses support. */ | |
11 | #include <curses.h> | |
91c92e05 | 12 | --- ./nano-1.9.99pre2/configure.ac.orig 2006-08-29 19:29:57.000000000 +0200 |
13 | +++ ./nano-1.9.99pre2/configure.ac 2006-09-14 00:10:31.000000000 +0200 | |
14 | @@ -400,7 +400,7 @@ | |
e1af6ded | 15 | dnl Checks for libraries. |
98947974 | 16 | |
e1af6ded | 17 | if eval "test x$CURSES_LIB_NAME = x"; then |
18 | - AC_CHECK_HEADERS(ncurses.h) | |
19 | + AC_CHECK_HEADERS(ncurses.h ncurses/ncurses.h) | |
98947974 | 20 | |
e1af6ded | 21 | if test x$enable_utf8 != xno; then |
22 | AC_CHECK_LIB(ncursesw, get_wch, [CURSES_LIB="-lncursesw" CURSES_LIB_NAME=ncursesw CURSES_LIB_WIDE=yes]) |