Skip to content

Commit 60cb1fb

Browse files
committed
Bump required pandoc version to 1.9.
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>
1 parent 1bbd4af commit 60cb1fb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

configure

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,12 +468,14 @@ then
468468
# extract the first 2 version fields, ignore everything else
469469
sed 's/pandoc \([0-9]*\)\.\([0-9]*\).*/\1 \2/')
470470

471+
MIN_PV_MAJOR="1"
472+
MIN_PV_MINOR="9"
471473
# these patterns are shell globs, *not* regexps
472474
PV_MAJOR=${PV_MAJOR_MINOR% *}
473475
PV_MINOR=${PV_MAJOR_MINOR#* }
474-
if [ "$PV_MAJOR" -lt "1" ] || [ "$PV_MINOR" -lt "8" ]
476+
if [ "$PV_MAJOR" -lt "$MIN_PV_MAJOR" ] || [ "$PV_MINOR" -lt "$MIN_PV_MINOR" ]
475477
then
476-
step_msg "pandoc $PV_MAJOR.$PV_MINOR is too old. disabling"
478+
step_msg "pandoc $PV_MAJOR.$PV_MINOR is too old. Need at least $MIN_PV_MAJOR.$MIN_PV_MINOR. Disabling"
477479
BAD_PANDOC=1
478480
fi
479481
fi

0 commit comments

Comments
 (0)