mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-24 02:59:07 +08:00
configure: Get version string from git or from VERSION file (#1380)
Use git to create the version string if possible. Otherwise get the version from the VERSION file. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
2d319cb8d3
commit
8fb68746fb
@ -7,7 +7,7 @@
|
||||
# ----------------------------------------
|
||||
AC_PREREQ([2.59])
|
||||
AC_INIT([tesseract],
|
||||
[4.0.0-beta.1],
|
||||
[m4_esyscmd([echo -n $(test -d .git && git describe --abbrev=4 || cat VERSION)])],
|
||||
[https://github.com/tesseract-ocr/tesseract/issues],,
|
||||
[https://github.com/tesseract-ocr/tesseract/])
|
||||
AC_PROG_CXX([g++ clang++])
|
||||
|
Loading…
Reference in New Issue
Block a user