about summary refs log tree commit diff
path: root/zshconfig.ac
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-08-30 19:16:21 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-08-30 19:16:21 +0000
commit716e9253122b962da887fde382c9fd00b40c8a42 (patch)
tree89ebd455173fcc5c9b11c7545cc1eac25091cd62 /zshconfig.ac
parentbab0f3b920687f21a3c181401bfd5443a94cbe15 (diff)
downloadzsh-716e9253122b962da887fde382c9fd00b40c8a42.tar.gz
zsh-716e9253122b962da887fde382c9fd00b40c8a42.tar.xz
zsh-716e9253122b962da887fde382c9fd00b40c8a42.zip
zsh-users/6493: search tinfo library for curses
Diffstat (limited to 'zshconfig.ac')
-rw-r--r--zshconfig.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/zshconfig.ac b/zshconfig.ac
index a9992c603..b8ae886e0 100644
--- a/zshconfig.ac
+++ b/zshconfig.ac
@@ -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])