Commit c79b71d0cd6f3a8cfd07921128c6f74f271a3a08

Authored by Jürgen Knödlseder
1 parent 546384e0

Check also for clang++ C++ compiler, and check also for valid C compiler (including clang).

Showing 1 changed file with 2 additions and 1 deletions
configure.ac
@@ -68,7 +68,8 @@ AC_CANONICAL_HOST @@ -68,7 +68,8 @@ AC_CANONICAL_HOST
68 # header files, otherwise we won't detect if the C++ compiler is missing. # 68 # header files, otherwise we won't detect if the C++ compiler is missing. #
69 ############################################################################# 69 #############################################################################
70 AC_LANG(C++) 70 AC_LANG(C++)
71 -AC_PROG_CXX 71 +AC_PROG_CXX([g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++])
  72 +AC_PROG_CC([gcc cc cl.exe clang])
72 73
73 74
74 ############################################################################# 75 #############################################################################