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

Re: More ramblings Re: zsh/termcap and zsh/terminfo modules



On Apr 9,  4:24pm, Bart Schaefer wrote:
}
} Having stuck in an AC_SEARCH_LIBS(tigetstr, ...) I now have a working
} zsh/terminfo module (but zsh is being linked against libcurses).

However, now neither zsh/termcap nor zsh/terminfo is autoloaded; I just
realized that the `load' directive is not eval'd the way `link' is, so
that part of my last patch didn't work.  Fortunately, it's not needed.

Index: Src/Modules/termcap.mdd
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Modules/termcap.mdd,v
retrieving revision 1.3
diff -u -r1.3 termcap.mdd
--- Src/Modules/termcap.mdd	2001/04/09 15:58:55	1.3
+++ Src/Modules/termcap.mdd	2001/04/09 16:47:16
@@ -10,12 +10,7 @@
           echo either;
       fi
 '
-load='if test "x$ac_cv_func_tgetent" = xyes; then
-          echo yes;
-      else
-          echo no;
-      fi
-'
+load=yes
 
 autobins="echotc"
 
Index: Src/Modules/terminfo.mdd
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Modules/terminfo.mdd,v
retrieving revision 1.5
diff -u -r1.5 terminfo.mdd
--- Src/Modules/terminfo.mdd	2001/04/09 15:58:55	1.5
+++ Src/Modules/terminfo.mdd	2001/04/09 16:47:16
@@ -10,12 +10,7 @@
           echo either;
       fi
 '
-load='if test "x$ac_cv_func_tigetstr" = xyes; then
-          echo yes;
-      else
-          echo no;
-      fi
-'
+load=yes
 
 autobins="echoti"
 autoparams="terminfo"

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



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