about summary refs log tree commit diff
path: root/Src/Modules/terminfo.mdd
diff options
context:
space:
mode:
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