Skip to content

Commit

Permalink
require leptonica 1.74 or higher
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenop committed Dec 24, 2016
1 parent 29ad9ac commit 38cb4ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -415,11 +415,11 @@ AC_CHECK_TYPES([mbstate_t],,, [#include "wchar.h"])
# Test auxiliary packages
# ----------------------------------------
PKG_CHECK_MODULES([LEPTONICA], [lept >= 1.71], [have_lept=true], [have_lept=false])
PKG_CHECK_MODULES([LEPTONICA], [lept >= 1.74], [have_lept=true], [have_lept=false])
if $have_lept; then
CPPFLAGS="$CPPFLAGS $LEPTONICA_CFLAGS"
else
AC_MSG_ERROR([Leptonica 1.71 or higher is required. Try to install libleptonica-dev package.])
AC_MSG_ERROR([Leptonica 1.74 or higher is required. Try to install libleptonica-dev package.])
fi
AM_CONDITIONAL([ENABLE_TRAINING], true)
Expand Down

0 comments on commit 38cb4ac

Please sign in to comment.