From c79b71d0cd6f3a8cfd07921128c6f74f271a3a08 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Tue, 21 Aug 2012 23:44:00 +0200 Subject: [PATCH] Check also for clang++ C++ compiler, and check also for valid C compiler (including clang). --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f619a62..a9c74f7 100644 --- a/configure.ac +++ b/configure.ac @@ -68,7 +68,8 @@ AC_CANONICAL_HOST # header files, otherwise we won't detect if the C++ compiler is missing. # ############################################################################# AC_LANG(C++) -AC_PROG_CXX +AC_PROG_CXX([g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++]) +AC_PROG_CC([gcc cc cl.exe clang]) ############################################################################# -- libgit2 0.21.4