Skip to content

Commit

Permalink
Check for C++ in configure
Browse files Browse the repository at this point in the history
Recent GMP/GCC/GDB releases require c++.

Signed-off-by: Alexey Neyman <stilor@att.net>
  • Loading branch information
stilor committed Feb 3, 2017
1 parent 1baddb1 commit df80f4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configure.ac
Expand Up @@ -186,8 +186,10 @@ AC_PROG_LN_S
#--------------------------------------------------------------------
# A bunch of boring tests...
#--------------------------------------------------------------------
# Modern GCC/GDB releases require C++ support in the compiler
AC_PROG_CC
AS_IF([test -z "$CC"],
AC_PROG_CXX
AS_IF([test -z "$CC" -o -z "$CXX"],
[AC_MSG_ERROR([no suitable compiler found])])
AC_PROG_CPP

Expand Down

0 comments on commit df80f4e

Please sign in to comment.