summary refs log tree commit diff
path: root/Src/Modules/terminfo.mdd
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-04-20 17:05:32 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-04-20 17:05:32 +0000
commit8f0af2115e155ee5113fc162ed13ea0761b37ac9 (patch)
tree49071dcdb7c806ee22a4b61a3ec2480ac819add3 /Src/Modules/terminfo.mdd
parentaf014926d70fa5c23355f6e169541bc76078f510 (diff)
downloadzsh-8f0af2115e155ee5113fc162ed13ea0761b37ac9.tar.gz
zsh-8f0af2115e155ee5113fc162ed13ea0761b37ac9.tar.xz
zsh-8f0af2115e155ee5113fc162ed13ea0761b37ac9.zip
26852: make terminfo.mdd test agree with one in terminfo.c
Diffstat (limited to 'Src/Modules/terminfo.mdd')
-rw-r--r--Src/Modules/terminfo.mdd4
1 files changed, 1 insertions, 3 deletions
diff --git a/Src/Modules/terminfo.mdd b/Src/Modules/terminfo.mdd
index 1d15a4912..a9a3f1b49 100644
--- a/Src/Modules/terminfo.mdd
+++ b/Src/Modules/terminfo.mdd
@@ -1,8 +1,6 @@
 name=zsh/terminfo
 
-link='if test "x$ac_cv_func_tigetflag" = xyes -a "x$ac_cv_header_curses_h" = xyes ||
-      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
+link='if test "x$ac_cv_func_tigetflag" = xyes -a x$zsh_cv_path_curses_header != xnone; then
           if test "x$zsh_cv_shared_tigetstr" = xyes; then
 	      echo either
 	  else