about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--zshconfig.ac6
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 20ea2b6d6..52800c31b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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,
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])