mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-12 07:29:07 +08:00
Merge pull request #1486 from amitdo/pango1.22
configure.ac: Check for the presence of pango 1.22.0 or higher
This commit is contained in:
commit
cd0a3e00f0
@ -477,9 +477,10 @@ if !($have_icu_uc && $have_icu_i18n); then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Check location of pango headers
|
# Check location of pango headers
|
||||||
PKG_CHECK_MODULES([pango], [pango], [have_pango=true], [have_pango=false])
|
PKG_CHECK_MODULES([pango], [pango >= 1.22.0], [have_pango=true], [have_pango=false])
|
||||||
if !($have_pango); then
|
if !($have_pango); then
|
||||||
AC_MSG_WARN([Training tools WILL NOT be built because of missing pango library.])
|
AC_MSG_WARN([pango 1.22.0 or higher is required, but was not found.])
|
||||||
|
AC_MSG_WARN([Training tools WILL NOT be built.])
|
||||||
AC_MSG_WARN([Try to install libpango1.0-dev package.])
|
AC_MSG_WARN([Try to install libpango1.0-dev package.])
|
||||||
AM_CONDITIONAL([ENABLE_TRAINING], false)
|
AM_CONDITIONAL([ENABLE_TRAINING], false)
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user