Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
autotools: fail if g++ or clang++ compiler is not found; Fixes #130
  • Loading branch information
zdenop committed Nov 4, 2015
1 parent 2591396 commit 34f34ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configure.ac
Expand Up @@ -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)
Expand Down Expand Up @@ -315,9 +318,6 @@ fi
# be intimately linked...
# ----------------------------------------

# Define order of compilers
AC_PROG_CXX(g++)

AC_PROG_LIBTOOL

# ----------------------------------------
Expand Down

0 comments on commit 34f34ea

Please sign in to comment.