summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
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], [])