[email protected] (Karl Berry) writes:

> # Some GNU/Linux systems (e.g., SuSE 4.3, 1996) don't have curses, but
> # rather ncurses.  So we check for it.
> TERMLIBS=
> # Check for termlib before termcap because Solaris termcap needs libucb.
> TERMLIB_VARIANTS="ncurses curses termlib termcap terminfo"
> for termlib in ${TERMLIB_VARIANTS}; do
>   AC_CHECK_LIB(${termlib}, tgetent,
>      [TERMLIBS="${TERMLIBS} -l${termlib}"; break])
> done

Nowadays it should look for -ltinfo first; info doesn't use anything
from the curses API anyway.

Andreas.

-- 
Andreas Schwab, [email protected]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to