mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
autotools: fail if g++ or clang++ compiler is not found; Fixes #130
This commit is contained in:
parent
2591396e64
commit
34f34eadb8
@ -7,6 +7,9 @@
|
||||
# ----------------------------------------
|
||||
AC_PREREQ(2.50)
|
||||
AC_INIT([tesseract], [3.05.00dev], [https://github.com/tesseract-ocr/tesseract/issues])
|
||||
AC_PROG_CXX(g++ clang++)
|
||||
AC_LANG([C++])
|
||||
AC_LANG_COMPILER_REQUIRE
|
||||
CXXFLAGS=${CXXFLAGS:-""}
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_CONFIG_AUX_DIR(config)
|
||||
@ -315,9 +318,6 @@ fi
|
||||
# be intimately linked...
|
||||
# ----------------------------------------
|
||||
|
||||
# Define order of compilers
|
||||
AC_PROG_CXX(g++)
|
||||
|
||||
AC_PROG_LIBTOOL
|
||||
|
||||
# ----------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user