diff options
author | Alexey Neyman <stilor@att.net> | 2017-02-03 19:57:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-03 19:57:21 (GMT) |
commit | 44ee21b3429dc3f0de82063e84d866a1f4ecfeab (patch) | |
tree | 84ca521b5a9da969c6d6f485b8cef1cfbbb3c753 | |
parent | 295381ab7ac4e7d68a47fecaf1084e7523c555a3 (diff) | |
parent | df80f4e69db3d088a5c7940a28c95f494f0f8df5 (diff) |
Merge pull request #570 from stilor/configure-check-cpp-python
Check for C++ in configure
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
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 |