Skip to content

Commit

Permalink
configure.ac: Skip C++ compiler of Sun OpenStudio
Browse files Browse the repository at this point in the history
It fails to compile ext/-test-/cxxanyargs/cxxanyargs.cpp.
Need work to support it.  Contribution is welcome.
  • Loading branch information
mame committed Apr 8, 2020
1 parent 8ab4c55 commit cdd613b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions configure.ac
Expand Up @@ -219,6 +219,11 @@ AS_CASE(["$build_os:${CXX}"],
AC_MSG_RESULT([$CXX])],
[openbsd*:*], [
AC_CHECK_TOOLS(CXX, [c++])
],
[solaris*:*], [
dnl C++ compiler of Sun OpenStudio is not supported
AS_CASE(["/$CC "],
[*@<:@\ /@:>@"cc "*], [CXX=no-c++])
])
test -z "$CXX" || ac_cv_prog_CXX="$CXX"

Expand Down

0 comments on commit cdd613b

Please sign in to comment.