提交 34f34ead 编写于 作者: Z Zdenko Podobný

autotools: fail if g++ or clang++ compiler is not found; Fixes #130

上级 2591396e
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
# ---------------------------------------- # ----------------------------------------
AC_PREREQ(2.50) AC_PREREQ(2.50)
AC_INIT([tesseract], [3.05.00dev], [https://github.com/tesseract-ocr/tesseract/issues]) 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:-""} CXXFLAGS=${CXXFLAGS:-""}
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR(config) AC_CONFIG_AUX_DIR(config)
...@@ -315,9 +318,6 @@ fi ...@@ -315,9 +318,6 @@ fi
# be intimately linked... # be intimately linked...
# ---------------------------------------- # ----------------------------------------
# Define order of compilers
AC_PROG_CXX(g++)
AC_PROG_LIBTOOL AC_PROG_LIBTOOL
# ---------------------------------------- # ----------------------------------------
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册