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

Re: PATCH: termcap/terminfo support in modules



> Index: Src/Modules/terminfo.mdd
> ===================================================================
> RCS file: /cvsroot/zsh/zsh/Src/Modules/terminfo.mdd,v
> retrieving revision 1.1
> diff -u -r1.1 terminfo.mdd
> --- Src/Modules/terminfo.mdd	2000/12/03 20:53:25	1.1
> +++ Src/Modules/terminfo.mdd	2000/12/05 00:10:56
> @@ -1,5 +1,5 @@
>  name=zsh/terminfo
> -link=either
> +link=`if test "x$ac_cv_have_tigetstr" = xyes; then echo either; else echo no
> ; fi`
>  load=yes
>  
>  autobins="echoti"

Those should really be forward quotes: configure tests specially for a
$link which contains spaces and re-evaluates it, while anywhere else
zsh.mdd is used the values tested for don't make sense.  But, thinking
about it, you probably get away with it since the value of $link from the
.mdd file isn't used once config.modules exist.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070



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