Skip to content

Commit 54611c1

Browse files
committed
increase min autoconf version (2.59). Fixes #598.
1 parent 8b3c6ac commit 54611c1

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

configure.ac

+9-9
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# ----------------------------------------
66
# Initialization
77
# ----------------------------------------
8-
AC_PREREQ([2.50])
8+
AC_PREREQ([2.59])
99
AC_INIT([tesseract], [4.00.00dev], [https://github.com/tesseract-ocr/tesseract/issues])
1010
AC_PROG_CXX([g++ clang++])
1111
AC_LANG([C++])
@@ -118,7 +118,7 @@ esac
118118
includedir="${includedir}/tesseract"
119119

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

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

138138
AC_MSG_CHECKING([--enable-graphics argument])
139139
AC_ARG_ENABLE([graphics],
140-
[AC_HELP_STRING([--enable-graphics],[enable graphics (ScrollView) (default)])
141-
AC_HELP_STRING([--disable-graphics],[disable graphics (ScrollView)])],
140+
[AS_HELP_STRING([--enable-graphics],[enable graphics (ScrollView) (default)])
141+
AS_HELP_STRING([--disable-graphics],[disable graphics (ScrollView)])],
142142
[enable_graphics=$enableval],
143143
[enable_graphics="yes"])
144144
AC_MSG_RESULT([$enable_graphics])
@@ -244,7 +244,7 @@ AC_SUBST([OPENCL_LDFLAGS])
244244
# http://groups.google.com/group/tesseract-dev/browse_thread/thread/976645ae98189127
245245
AC_MSG_CHECKING([--enable-visibility argument])
246246
AC_ARG_ENABLE([visibility],
247-
[AC_HELP_STRING([--enable-visibility],[enable experimental build with fvisibility (default=no)])],
247+
[AS_HELP_STRING([--enable-visibility],[enable experimental build with fvisibility (default=no)])],
248248
[enable_visibility=$enableval],
249249
[enable_visibility="no"])
250250
AC_MSG_RESULT([$enable_visibility])
@@ -253,7 +253,7 @@ AM_CONDITIONAL([VISIBILITY], [test "$enable_visibility" = "yes"])
253253
# check whether to build multiple libraries
254254
AC_MSG_CHECKING([--enable-multiple-libraries argument])
255255
AC_ARG_ENABLE([multiple-libraries],
256-
[AC_HELP_STRING([--enable-multiple-libraries],[enable multiple libraries (default=no)])],
256+
[AS_HELP_STRING([--enable-multiple-libraries],[enable multiple libraries (default=no)])],
257257
[enable_mlibs=$enableval],
258258
[enable_mlibs="no"])
259259
AC_MSG_RESULT([$enable_mlibs])
@@ -262,7 +262,7 @@ AM_CONDITIONAL([USING_MULTIPLELIBS], [test "$enable_mlibs" = "yes"])
262262
# Check if tessdata-prefix is disabled
263263
AC_MSG_CHECKING([whether to use tessdata-prefix])
264264
AC_ARG_ENABLE([tessdata-prefix],
265-
[AC_HELP_STRING([--disable-tessdata-prefix],
265+
[AS_HELP_STRING([--disable-tessdata-prefix],
266266
[don't set TESSDATA-PREFIX during compile])],
267267
[tessdata_prefix="no"], [tessdata_prefix="yes"])
268268
AC_MSG_RESULT([$tessdata_prefix])
@@ -271,7 +271,7 @@ AM_CONDITIONAL([NO_TESSDATA_PREFIX], [test "$tessdata_prefix" = "no"])
271271
# Check whether enable debuging
272272
AC_MSG_CHECKING([whether to enable debugging])
273273
AC_ARG_ENABLE([debug],
274-
[AC_HELP_STRING([--enable-debug],
274+
[AS_HELP_STRING([--enable-debug],
275275
[turn on debugging (default=no)])],
276276
[debug=$enableval],
277277
[debug="no"])

0 commit comments

Comments
 (0)