mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-24 02:59:07 +08:00
Fix configure for flat training build without asciidoc
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
421ebf0418
commit
d13e08bd85
@ -430,11 +430,11 @@ AC_SEARCH_LIBS([pthread_create], [pthread])
|
||||
|
||||
AC_CHECK_PROG([have_asciidoc], asciidoc, true, false)
|
||||
AC_CHECK_PROG([have_xsltproc], xsltproc, true, false)
|
||||
if $have_asciidoc && $have_xsltproc; then
|
||||
AM_CONDITIONAL([ASCIIDOC], true)
|
||||
# MacOS with Homebrew requires the environment variable
|
||||
# XML_CATALOG_FILES for xsltproc.
|
||||
AM_CONDITIONAL([HAVE_XML_CATALOG_FILES], false)
|
||||
if $have_asciidoc && $have_xsltproc; then
|
||||
AM_CONDITIONAL([ASCIIDOC], true)
|
||||
XML_CATALOG_FILES=
|
||||
AC_CHECK_PROG([have_brew], brew, true, false)
|
||||
if $have_brew; then
|
||||
|
Loading…
Reference in New Issue
Block a user