]>
Commit | Line | Data |
---|---|---|
fd29f932 AM |
1 | --- proftpd-1.3.2e/configure.in~ 2010-08-29 19:11:41.077617756 +0200 |
2 | +++ proftpd-1.3.2e/configure.in 2010-08-29 19:14:28.683856499 +0200 | |
0060d964 | 3 | @@ -1765,7 +1765,7 @@ |
fd29f932 AM |
4 | dnl headers have been found. |
5 | if test x"$ac_cv_header_curses_h" = xyes; then | |
6 | AC_CHECK_LIB(curses, initscr, | |
7 | - [ CURSES_LIBS="-lcurses" | |
8 | + [ CURSES_LIBS="-lcurses -ltinfo" | |
9 | AC_DEFINE(HAVE_LIBCURSES, 1, [Define if you have curses]) | |
10 | ]) | |
11 | fi | |
0060d964 | 12 | @@ -1778,19 +1778,19 @@ |
fd29f932 | 13 | |
0060d964 JR |
14 | if test x"$enable_nls" = xyes ; then |
15 | AC_CHECK_LIB(ncursesw, initscr, | |
16 | - [ CURSES_LIBS="-lncursesw" | |
17 | + [ CURSES_LIBS="-lncursesw -ltinfow" | |
18 | pr_have_ncursesw="yes" | |
19 | AC_DEFINE(HAVE_LIBNCURSESW, 1, [Define if you have ncursesw]) | |
20 | ], [ | |
21 | AC_CHECK_LIB(ncurses, initscr, | |
22 | - [ CURSES_LIBS="-lncurses" | |
23 | + [ CURSES_LIBS="-lncurses -ltinfo" | |
24 | AC_DEFINE(HAVE_LIBNCURSES, 1, [Define if you have ncurses]) | |
25 | ]) | |
26 | ]) | |
27 | ||
28 | else | |
29 | AC_CHECK_LIB(ncurses, initscr, | |
30 | - [ CURSES_LIBS="-lncurses" | |
31 | + [ CURSES_LIBS="-lncurses -ltinfo" | |
32 | AC_DEFINE(HAVE_LIBNCURSES, 1, [Define if you have ncurses]) | |
33 | ]) | |
34 | fi |