Skip to content

Commit

Permalink
configure: Clean code for --enable-legacy
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
stweil committed Jul 19, 2018
1 parent e47a927 commit 0ad6e3e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 0ad6e3e

Please sign in to comment.