Line
Link Here
|
0 |
-- a/configure |
0 |
++ b/configure |
Lines 892-898
Link Here
|
892 |
# For the terminfo module |
892 |
# For the terminfo module |
893 |
|
893 |
|
894 |
if test "$withcurses" = "yes"; then |
894 |
if test "$withcurses" = "yes"; then |
895 |
for libs in "" "-lcurses" "-ltermcap" "-lcurses -ltermcap" "-lncurses"; do |
895 |
for libs in "" "-ltinfo" "-lcurses" "-ltermcap" "-lcurses -ltermcap" "-lncurses"; do |
896 |
if sh ./hasgot $libs tgetent tgetstr tgetnum tputs; then |
896 |
if sh ./hasgot $libs tgetent tgetstr tgetnum tputs; then |
897 |
echo "termcap functions found (with libraries '$libs')" |
897 |
echo "termcap functions found (with libraries '$libs')" |
898 |
echo "#define HAS_TERMCAP" >> s.h |
898 |
echo "#define HAS_TERMCAP" >> s.h |