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

Re: Zsh on Precise Pangolin; META-FAQ does not build properly under recent yodl



>The newline in the definition of sect() from META-FAQ.yo is
>being lost for some reason.

Passing an option '-k' to yodl seems to work (tested with
yodl 2.13.2 and 3.00.0).

zsh manpages generated by with and without -k seem to be identical.

man yodl suggests that the option -k is new to yodl-2 to make
it compatible with yodl-1. If this is the case, then the
following patch may work:


Index: configure.ac
===================================================================
RCS file: /cvsroot/zsh/zsh/configure.ac,v
retrieving revision 1.141
diff -u -r1.141 configure.ac
--- configure.ac	17 Aug 2012 11:12:34 -0000	1.141
+++ configure.ac	9 Sep 2012 13:47:49 -0000
@@ -565,7 +565,8 @@
 YODL_OPTIONS=''
 if test "x$ac_cv_prog_YODL" = xyodl; then
     case `yodl --version` in
-      *"version 3."*) YODL_OPTIONS='-L' ;;
+      *"version 2."*) YODL_OPTIONS='-k' ;;
+      *"version 3."*) YODL_OPTIONS='-k -L' ;;
     esac
 fi
 AC_SUBST(YODL_OPTIONS)




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