mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 12:57:53 +00:00
Merge pull request #570 from stilor/configure-check-cpp-python
Check for C++ in configure
This commit is contained in:
commit
44ee21b342
@ -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…
Reference in New Issue
Block a user