]>
Commit | Line | Data |
---|---|---|
94a57d91 JR |
1 | --- amanda-3.2.1/config/amanda/readline.m4~ 2008-03-25 21:23:05.000000000 +0100 |
2 | +++ amanda-3.2.1/config/amanda/readline.m4 2008-05-07 13:30:33.000000000 +0200 | |
3 | @@ -96,11 +96,11 @@ | |
4 | ax_cv_lib_readline, [ | |
5 | ORIG_LIBS="$LIBS" | |
6 | for readline_lib in readline edit editline; do | |
7 | - for termcap_lib in "" termcap curses ncurses; do | |
8 | + for termcap_lib in "" ncurses curses termcap; do | |
9 | if test -z "$termcap_lib"; then | |
10 | TRY_LIB="-l$readline_lib" | |
11 | else | |
12 | - TRY_LIB="-l$readline_lib -l$termcap_lib" | |
13 | + TRY_LIB="-l$readline_lib -l$termcap_lib -ltinfo" | |
14 | fi | |
15 | LIBS="$ORIG_LIBS $TRY_LIB" | |
16 | AC_TRY_LINK_FUNC(readline, ax_cv_lib_readline="$TRY_LIB") |