diff -urN ocaml-3.09.1/configure ocaml-3.09.1.patched/configure --- ocaml-3.09.1/configure 2006-01-04 12:26:42 +0300 +++ ocaml-3.09.1.patched/configure 2006-03-21 11:11:00 +0300 @@ -738,7 +738,7 @@ # For the terminfo module if test "$withcurses" = "yes"; then - for libs in "" "-lcurses" "-ltermcap" "-lcurses -ltermcap" "-lncurses"; do + for libs in "" "-ltinfo" "-lcurses" "-ltermcap" "-lcurses -ltermcap" "-lncurses"; do if sh ./hasgot $libs tgetent tgetstr tgetnum tputs; then echo "termcap functions found (with libraries '$libs')" echo "#define HAS_TERMCAP" >> s.h