From 5208e732df615356d704583429526c860fb509ef Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Thu, 11 Nov 2010 16:51:35 +0100
Subject: [PATCH] Add pandoc to configure.ac
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: RenΓ© Nussbaumer <rn@google.com>
---
 configure.ac | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/configure.ac b/configure.ac
index 8c2a7fec8..6b0ee00b6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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], [])
-- 
GitLab