Skip to content

Commit

Permalink
configure: Clean code for --enable-visibility
Browse files Browse the repository at this point in the history
* Remove unneeded arguments for AC_ARG_ENABLE
* Use [] instead of () for default in help text

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Jul 19, 2018
1 parent a07025c commit 5820852
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,8 @@ AC_SUBST([OPENCL_LDFLAGS])
# http://groups.google.com/group/tesseract-dev/browse_thread/thread/976645ae98189127
AC_MSG_CHECKING([--enable-visibility argument])
AC_ARG_ENABLE([visibility],
[AS_HELP_STRING([--enable-visibility],[enable experimental build with fvisibility (default=no)])],
[enable_visibility=$enableval],
[enable_visibility="no"])
AS_HELP_STRING([--enable-visibility],
[enable experimental build with -fvisibility [default=no]]))
AC_MSG_RESULT([$enable_visibility])
AM_CONDITIONAL([VISIBILITY], [test "$enable_visibility" = "yes"])

Expand Down

0 comments on commit 5820852

Please sign in to comment.