mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-12 15:39:04 +08:00
Simplify configure.ac
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
286d8275c7
commit
94651e65ce
@ -428,13 +428,8 @@ AC_CHECK_TYPES([mbstate_t],,, [#include "wchar.h"])
|
|||||||
# Test auxiliary packages
|
# Test auxiliary packages
|
||||||
# ----------------------------------------
|
# ----------------------------------------
|
||||||
|
|
||||||
AM_CONDITIONAL([HAVE_LIBCURL], false)
|
|
||||||
PKG_CHECK_MODULES([libcurl], [libcurl], [have_libcurl=true], [have_libcurl=false])
|
PKG_CHECK_MODULES([libcurl], [libcurl], [have_libcurl=true], [have_libcurl=false])
|
||||||
if $have_libcurl; then
|
AM_CONDITIONAL([HAVE_LIBCURL], $have_libcurl)
|
||||||
AM_CONDITIONAL([HAVE_LIBCURL], true)
|
|
||||||
else
|
|
||||||
AM_CONDITIONAL([HAVE_LIBCURL], false)
|
|
||||||
fi
|
|
||||||
|
|
||||||
PKG_CHECK_MODULES([LEPTONICA], [lept >= 1.74], [have_lept=true], [have_lept=false])
|
PKG_CHECK_MODULES([LEPTONICA], [lept >= 1.74], [have_lept=true], [have_lept=false])
|
||||||
if $have_lept; then
|
if $have_lept; then
|
||||||
|
Loading…
Reference in New Issue
Block a user