]> git.lizzy.rs Git - rust.git/commitdiff
Bump required pandoc version to 1.9.
authorNoufal Ibrahim <noufal@nibrahim.net.in>
Fri, 1 Nov 2013 05:06:13 +0000 (10:36 +0530)
committerNoufal Ibrahim <noufal@nibrahim.net.in>
Fri, 1 Nov 2013 20:38:43 +0000 (02:08 +0530)
Earlier versions of pandoc don't have the default.html5 and thus,
building the docs fail.

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
configure

index ec14dc0dbcc483efb0af9b52f85cbcd830910766..98de5191ecb54a6ead0e5cd621dca871b2517bc5 100755 (executable)
--- a/configure
+++ b/configure
@@ -468,12 +468,14 @@ then
         # extract the first 2 version fields, ignore everything else
         sed 's/pandoc \([0-9]*\)\.\([0-9]*\).*/\1 \2/')
 
+    MIN_PV_MAJOR="1"
+    MIN_PV_MINOR="9"
     # these patterns are shell globs, *not* regexps
     PV_MAJOR=${PV_MAJOR_MINOR% *}
     PV_MINOR=${PV_MAJOR_MINOR#* }
-    if [ "$PV_MAJOR" -lt "1" ] || [ "$PV_MINOR" -lt "8" ]
+    if [ "$PV_MAJOR" -lt "$MIN_PV_MAJOR" ] || [ "$PV_MINOR" -lt "$MIN_PV_MINOR" ]
     then
-               step_msg "pandoc $PV_MAJOR.$PV_MINOR is too old. disabling"
+               step_msg "pandoc $PV_MAJOR.$PV_MINOR is too old. Need at least $MIN_PV_MAJOR.$MIN_PV_MINOR. Disabling"
                BAD_PANDOC=1
     fi
 fi