diff --git a/configure.ac b/configure.ac index 1f8c61f355..e887ddd3bf 100644 --- a/configure.ac +++ b/configure.ac @@ -198,7 +198,7 @@ AS_CASE([$CC], gcc_prefix=gcc- gcc_suffix=`echo "$CC" | sed 's/^gcc//'` AC_PROG_CXX(g++${gcc_suffix})], [clang-*], [ - gcc_prefix=clang- gcc_suffix=`echo "$CC" | sed 's/^gcc//'` + gcc_prefix=clang- gcc_suffix=`echo "$CC" | sed 's/^clang//'` AC_PROG_CXX(clang++${gcc_suffix})], [gcc_prefix= gcc_suffix=])