fixing configure so that it works on bitrig/openbsd

This commit is contained in:
Dave Huseby 2015-03-09 16:25:50 -07:00
parent 638832e64c
commit d0ae7caa49

2
configure vendored
View File

@ -701,8 +701,8 @@ probe CFG_ADB adb
if [ ! -z "$CFG_PANDOC" ] if [ ! -z "$CFG_PANDOC" ]
then then
# Extract "MAJOR MINOR" from Pandoc's version number
PV_MAJOR_MINOR=$(pandoc --version | grep '^pandoc' | PV_MAJOR_MINOR=$(pandoc --version | grep '^pandoc' |
# Extract "MAJOR MINOR" from Pandoc's version number
sed -E 's/pandoc(.exe)? ([0-9]+)\.([0-9]+).*/\2 \3/') sed -E 's/pandoc(.exe)? ([0-9]+)\.([0-9]+).*/\2 \3/')
MIN_PV_MAJOR="1" MIN_PV_MAJOR="1"