Skip to content

Commit

Permalink
Check clang++ as CXX when CXX is bare clang without suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Sep 6, 2019
1 parent 53d2108 commit dd26c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -192,7 +192,7 @@ AS_CASE([$CC],
[gcc-*], [
gcc_prefix=gcc- gcc_suffix=`echo "$CC" | sed 's/^gcc//'`
AC_PROG_CXX(g++${gcc_suffix})],
[clang-*], [
[clang-*|clang], [
gcc_prefix=clang- gcc_suffix=`echo "$CC" | sed 's/^clang//'`
AC_PROG_CXX(clang++${gcc_suffix})],
[gcc_prefix= gcc_suffix=])
Expand Down

0 comments on commit dd26c9f

Please sign in to comment.