Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 459512 | Differences between
and this patch

Collapse All | Expand All

(-)ocaml-4.01.0-orig/configure (-1 / +5 lines)
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
  ncurseslibs=""
896
  if pkg-config --exists ncurses 2>/dev/null; then
897
    ncurseslibs=`pkg-config --libs ncurses`
898
  fi
899
  for libs in "${ncurseslibs}" "-lcurses" "-ltermcap" "-lcurses -ltermcap" "-lncurses"; do
896
    if sh ./hasgot $libs tgetent tgetstr tgetnum tputs; then
900
    if sh ./hasgot $libs tgetent tgetstr tgetnum tputs; then
897
      echo "termcap functions found (with libraries '$libs')"
901
      echo "termcap functions found (with libraries '$libs')"
898
      echo "#define HAS_TERMCAP" >> s.h
902
      echo "#define HAS_TERMCAP" >> s.h

Return to bug 459512