system_config: use some puts for clang.

This commit is contained in:
Mike McQuaid 2018-03-22 08:26:26 +00:00 committed by GitHub
parent 8b27b84b4b
commit fc7fb60b72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,16 +212,15 @@ class SystemConfig
f.puts "GCC-4.2: build #{gcc_4_2}" unless gcc_4_2.null? f.puts "GCC-4.2: build #{gcc_4_2}" unless gcc_4_2.null?
f.print "Clang: " f.print "Clang: "
if clang.null? if clang.null?
f.print "N/A" f.puts "N/A"
else else
f.print "#{clang} build " f.print "#{clang} build "
if clang_build.null? if clang_build.null?
f.print "(parse error)" f.puts "(parse error)"
else else
f.print clang_build f.puts clang_build
end end
end end
f.print "\n"
f.puts "Git: #{describe_git}" f.puts "Git: #{describe_git}"
f.puts "Curl: #{describe_curl}" f.puts "Curl: #{describe_curl}"
f.puts "Perl: #{describe_perl}" f.puts "Perl: #{describe_perl}"