Test -lncurses if all else fails (PR#388)

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3559 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 2001-07-02 12:10:31 +00:00
parent 280f52c6c8
commit ae47eb4d1f
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -526,7 +526,7 @@ fi
# For the terminfo module
if test "$withcurses" = "yes"; then
for libs in "" "-lcurses" "-ltermcap" "-lcurses -ltermcap"; do
for libs in "" "-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