mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-21 17:26:41 +00:00
Check for C++ in configure
Recent GMP/GCC/GDB releases require c++. Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
1baddb19ee
commit
df80f4e69d
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user