class PhusionPassenger::PlatformInfo::ApacheDetector

def report

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>#{APACHE2_DOC_URL}#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>#{APACHE2_DOC_URL}#multiple_apache_installs</b>"
  end
end