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

PATCH: curses module build tweak



The case where /usr/include/curses.h doesn't exist but we're
using another header is already handled by the source, but
the .mdd logic keeps it from building.

Index: Src/Modules/curses.mdd
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Modules/curses.mdd,v
retrieving revision 1.4
diff -u -r1.4 curses.mdd
--- Src/Modules/curses.mdd	26 Oct 2007 21:59:56 -0000	1.4
+++ Src/Modules/curses.mdd	23 Jul 2008 02:44:21 -0000
@@ -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"



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