about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Src/Modules/curses.mdd2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f661f74f7..d4fdf8976 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2008-07-23  Clint Adams  <clint@zsh.org>
 
+	* 25329: Src/Modules/curses.mdd: build the curses module if
+	we've got any usable curses header, not just curses.h.
+
 	* 25328: Completion/Unix/Command/_gpg: fix --recv-keys and
 	--send-keys to complete key IDs instead of uid email addresses.
 
diff --git a/Src/Modules/curses.mdd b/Src/Modules/curses.mdd
index e6f87d748..b4d47a489 100644
--- a/Src/Modules/curses.mdd
+++ b/Src/Modules/curses.mdd
@@ -1,5 +1,5 @@
 name=zsh/curses
-link='if test "x$ac_cv_func_initscr" = xyes -a "x$ac_cv_header_curses_h" = xyes; then echo dynamic; else echo no; fi'
+link='if test "x$ac_cv_func_initscr" = xyes && test "x$zsh_cv_path_curses_header" != x; then echo dynamic; else echo no; fi'
 load=no
 
 autobins="zcurses"