    # File lib/phusion_passenger/platform_info/apache.rb, line 97
            def self.apr_config
                    if env_defined?('APR_CONFIG')
                            return ENV['APR_CONFIG']
                    elsif apxs2.nil?
                            return nil
                    else
                            filename = `#{apxs2} -q APR_CONFIG 2>/dev/null`.strip
                            if filename.empty?
                                    apr_bindir = `#{apxs2} -q APR_BINDIR 2>/dev/null`.strip
                                    if apr_bindir.empty?
                                            return nil
                                    else
                                            return select_executable(apr_bindir,
                                                    "apr-1-config", "apr-config")
                                    end
                            elsif File.exist?(filename)
                                    return filename
                            else
                                    return nil
                            end
                    end
            end