about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2011-01-17 02:42:24 +0000
committerWayne Davison <wayned@users.sourceforge.net>2011-01-17 02:42:24 +0000
commit7d06bc98c5dc6b8f415ace0db06205554b73cd12 (patch)
tree2024f3227ce020cd4dcf198756293208956f1d39 /configure.ac
parent6e95fc96020f9d32cae7e48b65c180b9a6263b6e (diff)
downloadzsh-7d06bc98c5dc6b8f415ace0db06205554b73cd12.tar.gz
zsh-7d06bc98c5dc6b8f415ace0db06205554b73cd12.tar.xz
zsh-7d06bc98c5dc6b8f415ace0db06205554b73cd12.zip
Use the -L option with yodl 3.x.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a93eb5115..91e169ce5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -539,6 +539,15 @@ AC_PROG_AWK                 dnl Check for mawk,gawk,nawk, then awk.
 AC_PROG_LN                  dnl Check for working ln, for "make install"
 AC_PROG_EGREP               dnl sets $EGREP to grep -E or egrep
 AC_CHECK_PROGS([YODL], [yodl], [: yodl])
+
+YODL_OPTIONS=''
+if test "x$ac_cv_prog_YODL" = xyodl; then
+    case `yodl --version` in
+      *"version 3."*) YODL_OPTIONS='-L' ;;
+    esac
+fi
+AC_SUBST(YODL_OPTIONS)
+
 AC_CHECK_PROGS([PDFETEX], [pdfetex], [: pdfetex])
 AC_CHECK_PROGS([TEXI2PDF], [texi2pdf], [])
 AC_CHECK_PROGS([TEXI2HTML], [texi2html], [])