Test -lncurses if all else fails (PR#388)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3559 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
280f52c6c8
commit
ae47eb4d1f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue