Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#454414: zsh-beta: missing terminfo module



On Thu, Dec 06, 2007 at 07:08:04PM -0500, Clint Adams wrote:
> /etc/zsh-beta/zshrc:12: module `zsh/terminfo' has no such feature: `b:echoti': autoload cancelled
> /etc/zsh-beta/zshrc:12: module `zsh/terminfo' has no such feature: `p:terminfo': autoload cancelled
> /etc/zsh-beta/zshrc:12: unknown parameter: terminfo 

That didn't seem to fix it and neither will this.

Index: configure.ac
===================================================================
RCS file: /cvsroot/zsh/zsh/configure.ac,v
retrieving revision 1.83
diff -u -r1.83 configure.ac
--- configure.ac	3 Dec 2007 22:46:10 -0000	1.83
+++ configure.ac	7 Dec 2007 02:43:29 -0000
@@ -1390,15 +1390,18 @@
 AC_CACHE_CHECK(where curses key definitions are located, zsh_cv_path_curses_keys_h,
 [dnl This is an identical trick to errno.h, except we use ncurses.h
 dnl if we can.
-if test x$ac_cv_header_ncurses_h = xyes || test x$ac_cv_header_ncurses_ncurses_h = xyes || test x$ac_cv_header_ncursesw_ncurses_h = xyes; then
+if test x$ac_cv_header_ncurses_h = xyes; then
   echo "#include <ncurses.h>" >nametmp.c
+elif test x$ac_cv_header_ncurses_ncurses_h = xyes
+  echo "#include <ncurses/ncurses.h>" >nametmp.c
+elif test x$ac_cv_header_ncursesw_ncurses_h = xyes; then
+  echo "#include <ncursesw/ncurses.h>" >nametmp.c
+elif test x$ac_cv_header_curses_h = xyes; then
+  echo "#include <curses.h>" >nametmp.c
 else
-  if test x$ac_cv_header_curses_h = xyes; then
-    echo "#include <curses.h>" >nametmp.c
-  else
-    echo >nametmp.c
-  fi
+  echo >nametmp.c
 fi
+
 curses_list="`$CPP nametmp.c |
 sed -n -e 's/^#line[ 	].*\"\(.*\)\"/\1/p' \
        -e 's/^#[ 	0-9].*\"\(.*\)\"/\1/p' |



Messages sorted by: Reverse Date, Date, Thread, Author