]>
Commit | Line | Data |
---|---|---|
517bacc8 JB |
1 | --- aspell-0.60.6.1/configure.ac.orig 2011-07-04 10:58:29.000000000 +0200 |
2 | +++ aspell-0.60.6.1/configure.ac 2011-07-14 18:01:22.971002230 +0200 | |
3 | @@ -344,20 +344,20 @@ | |
80650fac | 4 | |
5 | if test "$enable_wide_curses" != "no" -a -n "$have_mblen" | |
6 | then | |
7 | - LIBS="-lncursesw $ORIG_LIBS" | |
d376a68f | 8 | + LIBS="-lncursesw -ltinfow $ORIG_LIBS" |
80650fac | 9 | AC_TRY_LINK( |
10 | [#include <ncursesw/curses.h>], [initscr()], | |
11 | - [CURSES_LIB=-lncursesw | |
df63524a | 12 | + [CURSES_LIB="-lncursesw -ltinfow" |
517bacc8 JB |
13 | AC_DEFINE(CURSES_HEADER, <ncursesw/curses.h>, [Defined to curses header file]) |
14 | AC_DEFINE(TERM_HEADER, <ncursesw/term.h>, [Defined to term header file])]) | |
80650fac | 15 | fi |
16 | ||
517bacc8 JB |
17 | if test -z "$CURSES_LIB" |
18 | then | |
19 | - LIBS="-lncurses $ORIG_LIBS" | |
20 | + LIBS="-lncurses -ltinfo $ORIG_LIBS" | |
21 | AC_TRY_LINK( | |
22 | [#include <ncurses/curses.h>], [initscr()], | |
23 | - [CURSES_LIB=-lncurses | |
24 | + [CURSES_LIB="-lncurses -ltinfo" | |
25 | AC_DEFINE(CURSES_HEADER, <ncurses/curses.h>, [Defined to curses header file]) | |
26 | AC_DEFINE(TERM_HEADER, <ncurses/term.h>, [Defined to term header file])], | |
27 | [ |