mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
configure: Clean code for --enable-legacy
* Remove unneeded arguments for AC_ARG_ENABLE * Fix formatting of help text * Remove help text for --enable-legacy Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
e47a9272d7
commit
0ad6e3e77f
@ -160,12 +160,7 @@ fi
|
||||
|
||||
AC_MSG_CHECKING([--enable-legacy argument])
|
||||
AC_ARG_ENABLE([legacy],
|
||||
[
|
||||
AS_HELP_STRING([--enable-legacy],[enable the legacy OCR engine])
|
||||
AS_HELP_STRING([--disable-legacy], [disable the legacy OCR engine])
|
||||
],
|
||||
[enable_legacy=$enableval],
|
||||
[enable_legacy="yes"])
|
||||
AS_HELP_STRING([--disable-legacy], [disable the legacy OCR engine]))
|
||||
AC_MSG_RESULT([$enable_legacy])
|
||||
AM_CONDITIONAL([DISABLED_LEGACY_ENGINE], test "$enable_legacy" = "no")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user