pandoc and w3m are needed to generate some files.
top_srcdir = @top_srcdir@
top_builddir = @top_builddir@
+PANDOC = @PANDOC@
+W3M = @W3M@
+
VERSION=@BIND9_VERSION@
SUBDIRS = make lib fuzz bin doc
;;
esac
+#
+# Look for w3m
+#
+AC_PATH_PROGS(W3M, w3m, w3m)
+AC_SUBST(W3M)
+
+#
+# Look for pandoc
+#
+AC_PATH_PROG(PANDOC, pandoc, pandoc)
+AC_SUBST(PANDOC)
+
#
# Perl is optional; it is used only by some of the system test scripts.
# Note: the backtrace feature (see below) uses perl to build the symbol table,