Line
Link Here
|
0 |
-- a/acinclude.m4 |
0 |
++ b/acinclude.m4 |
Lines 400-409
Link Here
|
400 |
AC_ARG_WITH(termlib, |
400 |
AC_ARG_WITH(termlib, |
401 |
[ --with-termlib[=LIBS] terminal library |
401 |
[ --with-termlib[=LIBS] terminal library |
402 |
LIBS is space separated list of: |
402 |
LIBS is space separated list of: |
403 |
terminfo mytinfo termcap ncurses curses],, |
403 |
terminfo mytinfo termcap tinfo ncurses curses],, |
404 |
[with_termlib="yes"]) |
404 |
[with_termlib="yes"]) |
405 |
AC_MSG_RESULT($with_termlib) |
405 |
AC_MSG_RESULT($with_termlib) |
406 |
test x"$with_termlib" = xyes && with_termlib="terminfo mytinfo termlib termcap ncurses curses" |
406 |
test x"$with_termlib" = xyes && with_termlib="terminfo mytinfo termlib termcap tinfo ncurses curses" |
407 |
for lib in $with_termlib; do |
407 |
for lib in $with_termlib; do |
408 |
AC_CHECK_LIB($lib, tgetent, [W3M_LIBS="$W3M_LIBS -l$lib"; break]) |
408 |
AC_CHECK_LIB($lib, tgetent, [W3M_LIBS="$W3M_LIBS -l$lib"; break]) |
409 |
done |
409 |
done |