mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-24 02:59:07 +08:00
configure: Clean code for --enable-embedded
* Remove unneeded arguments for AC_ARG_ENABLE * Use AS_HELP_STRING * Use [] instead of () for default in help text Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
11cafd7673
commit
cfc5ef65a2
@ -175,9 +175,7 @@ AM_CONDITIONAL([DISABLED_LEGACY_ENGINE], test "$enable_legacy" = "no")
|
||||
# check whether to build embedded version
|
||||
AC_MSG_CHECKING([--enable-embedded argument])
|
||||
AC_ARG_ENABLE([embedded],
|
||||
[ --enable-embedded enable embedded build (default=no)],
|
||||
[enable_embedded=$enableval],
|
||||
[enable_embedded="no"])
|
||||
AS_HELP_STRING([--enable-embedded], [enable embedded build [default=no]]))
|
||||
AC_MSG_RESULT([$enable_embedded])
|
||||
AM_CONDITIONAL([EMBEDDED], [test "$enable_embedded" = "yes"])
|
||||
if test "$enable_embedded" = "yes"; then
|
||||
|
Loading…
Reference in New Issue
Block a user