]>
Commit | Line | Data |
---|---|---|
1 | --- wine-0.9.28/configure.ac.orig 2006-12-22 17:17:47.000000000 +0100 | |
2 | +++ wine-0.9.28/configure.ac 2006-12-24 03:10:15.504363300 +0100 | |
3 | @@ -194,6 +194,7 @@ | |
4 | machine/soundcard.h \ | |
5 | mntent.h \ | |
6 | ncurses.h \ | |
7 | + ncurses/ncurses.h \ | |
8 | netdb.h \ | |
9 | netinet/in.h \ | |
10 | netinet/in_systm.h \ | |
11 | @@ -519,7 +520,7 @@ | |
12 | ||
13 | dnl **** Check which curses lib to use *** | |
14 | CURSESLIBS="" | |
15 | -if test "$ac_cv_header_ncurses_h" = "yes" | |
16 | +if test "$ac_cv_header_ncurses_h" = "yes" || test "$ac_cv_header_ncurses_ncurses_h" = "yes" | |
17 | then | |
18 | AC_CHECK_LIB(ncurses,waddch,[CURSESLIBS="-lncurses"]) | |
19 | elif test "$ac_cv_header_curses_h" = "yes" | |
20 | --- wine-0.9.41/programs/wineconsole/curses.c.old 2007-07-14 22:00:49.124363079 +0200 | |
21 | +++ wine-0.9.41/programs/wineconsole/curses.c 2007-07-14 22:07:46.714791368 +0200 | |
22 | @@ -39,6 +39,8 @@ | |
23 | # include <ncurses.h> | |
24 | #elif defined(HAVE_CURSES_H) | |
25 | # include <curses.h> | |
26 | +#elif defined(HAVE_NCURSES_NCURSES_H) | |
27 | +# include <ncurses/ncurses.h> | |
28 | #endif | |
29 | /* avoid redefinition warnings */ | |
30 | #undef KEY_EVENT | |
31 | @@ -62,7 +64,7 @@ | |
32 | ||
33 | #if defined(SONAME_LIBCURSES) || defined(SONAME_LIBNCURSES) | |
34 | ||
35 | -#ifdef HAVE_NCURSES_H | |
36 | +#if defined(HAVE_NCURSES_H) || defined(HAVE_NCURSES_NCURSES_H) | |
37 | # define CURSES_NAME "ncurses" | |
38 | #else | |
39 | # define CURSES_NAME "curses" |