mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-04 01:39:16 +08:00
configure: Use m4_esyscmd_s to suppress linefeed (fix needed for macOS) (#1401)
While "echo -n" works on Debian GNU Linux, it fails to produce a valid configure file on macOS, so try a different shorter solution. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
64af706f0c
commit
81c47288a2
@ -7,7 +7,7 @@
|
|||||||
# ----------------------------------------
|
# ----------------------------------------
|
||||||
AC_PREREQ([2.59])
|
AC_PREREQ([2.59])
|
||||||
AC_INIT([tesseract],
|
AC_INIT([tesseract],
|
||||||
[m4_esyscmd([echo -n $(test -d .git && git describe --abbrev=4 || cat VERSION)])],
|
[m4_esyscmd_s([test -d .git && git describe --abbrev=4 || cat VERSION])],
|
||||||
[https://github.com/tesseract-ocr/tesseract/issues],,
|
[https://github.com/tesseract-ocr/tesseract/issues],,
|
||||||
[https://github.com/tesseract-ocr/tesseract/])
|
[https://github.com/tesseract-ocr/tesseract/])
|
||||||
AC_PROG_CXX([g++ clang++])
|
AC_PROG_CXX([g++ clang++])
|
||||||
|
Loading…
Reference in New Issue
Block a user