Commit Graph

20 Commits

Author SHA1 Message Date
Stefan Weil
6d32de484a Update autogen.sh
The m4 directory must not be removed as it contains files
which are distributed with the source code.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-12-04 22:38:09 +01:00
Stefan Weil
e903eaea59 Re-order commands in autogen.sh
This avoids an unnecessary reconfiguration when running

    ./autogen.sh && ./configure && make

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-09-11 15:50:23 +02:00
Stefan Weil
6a28cce96b Fix whitespace issues
* Remove whitespace (blanks, tabs, cr) at line endings

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-08-01 13:19:52 +02:00
Stefan Weil
6b250b5812 Remove autoconf-archive dependency
It creates much confusion and causes many issue reports,
so let us drop this dependency.

The two new files in the m4/ directory are current copies from GitHub
(https://github.com/autoconf-archive/autoconf-archive/).

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-30 22:23:22 +02:00
Stefan Weil
860dd10b8b autogen: Fix typo in comment (#1396)
It was introduced by commit d50769dc01.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-03-17 14:35:30 +01:00
Stefan Weil
d50769dc01 autogen: Report missing requirements (#1394)
* autogen: Report missing autoconf-archive

autoconf-archive is required, but users often missed that requirement.

The script now detects and reports missing autoconf-archive and removes
the incomplete generated configure script.

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* autogen: Report missing pkg-config

pkg-config is required.

The script now detects and reports missing pkg-config and removes
the incomplete generated configure script.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-03-17 14:10:53 +01:00
Stefan Weil
5d60444f40 automake: Enable all warnings and fix a warning
Fix this automake warning for java/Makefile.am:

    java/Makefile.am:67: warning: user target 'clean' defined here ...
    automake: ... overrides Automake target 'clean' defined here
    java/Makefile.am:67: consider using clean-local instead of clean

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-05-15 20:08:54 +02:00
Bryce Glover
2be86764fe autogen.sh: Small Typo Fix
Implement and contribute one small typographical fix, thereby improving the readability of the script's check
for the existence of the `m4` top-level directory.
2017-04-15 12:31:24 -04:00
Bryce Glover
df887307a9 [autogen.sh:] Improve libtoolize invocation message.
Use the `$LIBTOOLIZE` variable inside the message to abstract over the two possible variants of the tool which
can be invoked.
2017-03-09 18:45:31 -05:00
Bryce Glover
bcba09c85d [autogen.sh:] Clarify libtoolize/glibtoolize existence check error message.
Explicitly mention the latter variant of the tool inside said error message.
2017-03-09 18:45:31 -05:00
Bryce Glover
e08ed04412 [autogen.sh:] Reduce in-script comment block width to 80 characters.
This is with respect to the comment preceding the `libtoolize`/`glibtoolize` existence check I introduced.
2017-03-09 18:45:31 -05:00
Bryce Glover
da4f7fdb0c [autogen.sh:] Abstract the absolute path of libtoolize or glibtoolize away into $LIBTOOLIZE.
Increase portability by insulating `autogen.sh` from platform variance.
2017-03-09 18:45:30 -05:00
Ray Smith
5913d7344f Added missing license headers 2016-11-18 15:53:11 -08:00
Jakub Wilk
9851bb23b1 autogen.sh: fix a bashism
Use [ "$foo" = "bar" ] instead of [ "$foo" == "bar" ].
The latter is a bashism.
2015-07-13 17:26:40 +02:00
theraysmith@gmail.com
69f37548ec Fixed autogen.sh
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@987 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-01-14 01:57:42 +00:00
zdenop
aeba7a7ace amend r:983
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@985 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-01-12 21:38:11 +00:00
zdenop@gmail.com
9f1d243d82 autotools: check for icu library, implement 'make training'
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@885 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2013-09-26 20:23:17 +00:00
zdenop@gmail.com
8708102883 implement '--enable-debug' for ./configure; small clean up autogen.sh and configure.ac
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@732 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-07-22 21:36:20 +00:00
zdenop@gmail.com
e216adab43 fix configure.ac; unify identifiers (WIN32 vs _WIN32)
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@688 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-03-02 17:31:24 +00:00
zdenop@gmail.com
67f47008c7 fixed "one lib" build on linux; runautoconf renamed to autogen.sh;
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@631 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-10-16 19:39:54 +00:00