about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-07-23 02:57:45 +0000
committerClint Adams <clint@users.sourceforge.net>2008-07-23 02:57:45 +0000
commitb34c5d8a546e11692236d06254cde8bd1581fca1 (patch)
tree92a5423d40d03318e6352c8b10c1523bc69b6b2e
parent4ecc91742cb7005e0031a781d797ca1144316130 (diff)
downloadzsh-b34c5d8a546e11692236d06254cde8bd1581fca1.tar.gz
zsh-b34c5d8a546e11692236d06254cde8bd1581fca1.tar.xz
zsh-b34c5d8a546e11692236d06254cde8bd1581fca1.zip
25329: build the curses module if we've got any usable curses header, not just curses.h.
-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"