Skip to content

Commit

Permalink
increase min autoconf version (2.59). Fixes #598.
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenop committed Dec 23, 2016
1 parent 8b3c6ac commit 54611c1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# ----------------------------------------
# Initialization
# ----------------------------------------
AC_PREREQ([2.50])
AC_PREREQ([2.59])
AC_INIT([tesseract], [4.00.00dev], [https://github.com/tesseract-ocr/tesseract/issues])
AC_PROG_CXX([g++ clang++])
AC_LANG([C++])
Expand Down Expand Up @@ -118,7 +118,7 @@ esac
includedir="${includedir}/tesseract"

AC_ARG_WITH([extra-includes],
[AC_HELP_STRING([--with-extra-includes=DIR],
[AS_HELP_STRING([--with-extra-includes=DIR],
[Define an additional directory for include files])],
[if test -d "$withval" ; then
CFLAGS="$CFLAGS -I$withval"
Expand All @@ -127,7 +127,7 @@ AC_ARG_WITH([extra-includes],
fi])

AC_ARG_WITH([extra-libraries],
[AC_HELP_STRING([--with-extra-libraries=DIR],
[AS_HELP_STRING([--with-extra-libraries=DIR],
[Define an additional directory for library files])],
[if test -d "$withval" ; then
LDFLAGS="$LDFLAGS -L$withval"
Expand All @@ -137,8 +137,8 @@ AC_ARG_WITH([extra-libraries],

AC_MSG_CHECKING([--enable-graphics argument])
AC_ARG_ENABLE([graphics],
[AC_HELP_STRING([--enable-graphics],[enable graphics (ScrollView) (default)])
AC_HELP_STRING([--disable-graphics],[disable graphics (ScrollView)])],
[AS_HELP_STRING([--enable-graphics],[enable graphics (ScrollView) (default)])
AS_HELP_STRING([--disable-graphics],[disable graphics (ScrollView)])],
[enable_graphics=$enableval],
[enable_graphics="yes"])
AC_MSG_RESULT([$enable_graphics])
Expand Down Expand Up @@ -244,7 +244,7 @@ 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],
[AC_HELP_STRING([--enable-visibility],[enable experimental build with fvisibility (default=no)])],
[AS_HELP_STRING([--enable-visibility],[enable experimental build with fvisibility (default=no)])],
[enable_visibility=$enableval],
[enable_visibility="no"])
AC_MSG_RESULT([$enable_visibility])
Expand All @@ -253,7 +253,7 @@ AM_CONDITIONAL([VISIBILITY], [test "$enable_visibility" = "yes"])
# check whether to build multiple libraries
AC_MSG_CHECKING([--enable-multiple-libraries argument])
AC_ARG_ENABLE([multiple-libraries],
[AC_HELP_STRING([--enable-multiple-libraries],[enable multiple libraries (default=no)])],
[AS_HELP_STRING([--enable-multiple-libraries],[enable multiple libraries (default=no)])],
[enable_mlibs=$enableval],
[enable_mlibs="no"])
AC_MSG_RESULT([$enable_mlibs])
Expand All @@ -262,7 +262,7 @@ AM_CONDITIONAL([USING_MULTIPLELIBS], [test "$enable_mlibs" = "yes"])
# Check if tessdata-prefix is disabled
AC_MSG_CHECKING([whether to use tessdata-prefix])
AC_ARG_ENABLE([tessdata-prefix],
[AC_HELP_STRING([--disable-tessdata-prefix],
[AS_HELP_STRING([--disable-tessdata-prefix],
[don't set TESSDATA-PREFIX during compile])],
[tessdata_prefix="no"], [tessdata_prefix="yes"])
AC_MSG_RESULT([$tessdata_prefix])
Expand All @@ -271,7 +271,7 @@ AM_CONDITIONAL([NO_TESSDATA_PREFIX], [test "$tessdata_prefix" = "no"])
# Check whether enable debuging
AC_MSG_CHECKING([whether to enable debugging])
AC_ARG_ENABLE([debug],
[AC_HELP_STRING([--enable-debug],
[AS_HELP_STRING([--enable-debug],
[turn on debugging (default=no)])],
[debug=$enableval],
[debug="no"])
Expand Down

0 comments on commit 54611c1

Please sign in to comment.