Add pandoc to configure.ac
authorIustin Pop <iustin@google.com>
Thu, 11 Nov 2010 15:51:35 +0000 (16:51 +0100)
committerIustin Pop <iustin@google.com>
Mon, 15 Nov 2010 17:33:57 +0000 (18:33 +0100)
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: RenĂ© Nussbaumer <rn@google.com>

configure.ac

index 8c2a7fe..6b0ee00 100644 (file)
@@ -242,6 +242,13 @@ then
   AC_MSG_WARN([docbook2html not found, man pages rebuild will not be possible])
 fi
 
+AC_ARG_VAR(PANDOC, [pandoc path])
+AC_PATH_PROG(PANDOC, [pandoc], [])
+if test -z "$PANDOC"
+then
+  AC_MSG_WARN([pandoc not found, man pages rebuild will not be possible])
+fi
+
 # Check for python-sphinx
 AC_ARG_VAR(SPHINX, [sphinx-build path])
 AC_PATH_PROG(SPHINX, [sphinx-build], [])