ruby-changes:60705
From: Yusuke <ko1@a...>
Date: Thu, 9 Apr 2020 08:57:52 +0900 (JST)
Subject: [ruby-changes:60705] cdd613b299 (master): configure.ac: Skip C++ compiler of Sun OpenStudio
https://git.ruby-lang.org/ruby.git/commit/?id=cdd613b299 From cdd613b2997944cd0d82f8d41071440779c19a99 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Thu, 9 Apr 2020 08:55:46 +0900 Subject: configure.ac: Skip C++ compiler of Sun OpenStudio It fails to compile ext/-test-/cxxanyargs/cxxanyargs.cpp. Need work to support it. Contribution is welcome. diff --git a/configure.ac b/configure.ac index bd752d9..2d200a3 100644 --- a/configure.ac +++ b/configure.ac @@ -219,6 +219,11 @@ AS_CASE(["$build_os:${CXX}"], https://github.com/ruby/ruby/blob/trunk/configure.ac#L219 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" -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/