From df80f4e69db3d088a5c7940a28c95f494f0f8df5 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Tue, 31 Jan 2017 09:31:10 -0800 Subject: Check for C++ in configure Recent GMP/GCC/GDB releases require c++. Signed-off-by: Alexey Neyman diff --git a/configure.ac b/configure.ac index e0cd202..ba24711 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- cgit v0.10.2-6-g49f6