mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 21:44:11 +01:00
zsh-users/6493: search tinfo library for curses
This commit is contained in:
parent
bab0f3b920
commit
716e925312
@ -1,5 +1,8 @@
|
||||
2003-08-30 Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
|
||||
|
||||
* c.f. somewhat terse reference in zsh-users/6493:
|
||||
use tinfo library for curses if not found elsewhere.
|
||||
|
||||
* 18980: zshconfig.ac, Doc/.cvsignore, Doc/Makefile.in,
|
||||
Doc/Zsh/mod_system.yo, Doc/Zsh/params.yo, Src/params.c,
|
||||
Src/Modules/.cvsignore, Src/Modules/errnames1.awk,
|
||||
|
@ -567,15 +567,15 @@ dnl On HPUX, Hcurses is reported to work better than curses.
|
||||
AC_ARG_WITH(curses-terminfo,
|
||||
[ --with-curses-terminfo use terminfo support from curses library],
|
||||
[if test x$withval = xyes; then
|
||||
termcap_curses_order="curses ncurses termcap"
|
||||
termcap_curses_order="tinfo curses ncurses termcap"
|
||||
AC_SEARCH_LIBS(tigetstr, [$termcap_curses_order])
|
||||
else
|
||||
termcap_curses_order="termcap curses ncurses"
|
||||
termcap_curses_order="tinfo termcap curses ncurses"
|
||||
fi],
|
||||
[case "$host_os" in
|
||||
hpux10.*|hpux11.*|solaris*)
|
||||
termcap_curses_order="Hcurses curses ncurses termcap" ;;
|
||||
*) termcap_curses_order="termcap curses ncurses" ;;
|
||||
*) termcap_curses_order="tinfo termcap curses ncurses" ;;
|
||||
esac])dnl
|
||||
|
||||
AC_SEARCH_LIBS(tgetent, [$termcap_curses_order])
|
||||
|
Loading…
Reference in New Issue
Block a user