def report
log "<banner>Final autodetection results</banner>"
@results.each do |result|
result.report
end
if @results.empty?
log "<red>Sorry, this program cannot find an Apache installation.</red>"
log ""
log "To install Apache, please run the following. It will tell you how to install Apache."
log ""
log " <b>#{PhusionPassenger.bin_dir}/passenger-install-apache2-module</b>"
log ""
log "If you are sure that you have Apache installed, please read the documentation:"
log " * <b>#{PhusionPassenger.doc_dir}/Users guide Apache.html</b>, section"
log " section 'Installation' -> 'Customizing the compilation process' ->"
log " 'Forcing location of command line tools and dependencies'"
log " * Or visit the online version:"
log " <b>http://www.modrails.com/documentation/Users%20guide%20Apache.html#_forcing_location_of_command_line_tools_and_dependencies</b>"
elsif @results.size > 1
log "<yellow>WARNING: You have multiple Apache installations on your system!</yellow>"
log "You are strongly recommended to read this section of the documentation:"
log " * <b>#{PhusionPassenger.doc_dir}/Users guide Apache.html</b>, section"
log " section 'Installation' -> 'Customizing the compilation process' ->"
log " 'Forcing location of command line tools and dependencies'"
log " * Or visit the online version:"
log " <b>http://www.modrails.com/documentation/Users%20guide%20Apache.html#_forcing_location_of_command_line_tools_and_dependencies</b>"
end
end