26 #if defined (HAVE_CONFIG_H)
35 octave_warranty_statement (
const std::string& extra_info =
"")
37 return "There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or\n\
38 FITNESS FOR A PARTICULAR PURPOSE."
43 format_url (
bool html,
const std::string& url)
45 return html ? R
"(<a href=")" + url + R"(">)" + url + "</a>" : url;
52 + format_url (html,
"https://octave.org");
58 return "Improve Octave: "
59 + format_url (html,
"https://octave.org/get-involved");
65 return "Support resources: "
66 + format_url (html,
"https://octave.org/support");
75 std::string br = (html ?
"<br>\n" :
"\n");
84 (
bool html,
const std::string& extra_info)
86 std::string br = (html ?
"<br>\n" :
"\n");
87 std::string sep = (html ?
"\n</p>\n<p>\n" :
"\n\n");
91 +
"This is free software; see the source code for copying conditions."
93 + octave_warranty_statement (extra_info)
95 + R
"(Octave was configured for ")"
102 (bool html,
const std::string& extra_info)
104 std::string sep = (html ?
"\n</p>\n<p>\n" :
"\n");
106 (html ?
"<p>\n" :
"")
108 + (html ?
"" :
"\n") + sep
112 + (html ?
"\n</p>" :
"");
122 (html,
" For details, type 'warranty'.");
124 msg += (html ?
"<p>\n" :
"\n");
126 msg +=
"For changes from previous versions, type 'news'.";
128 msg += (html ?
"\n</p>" :
"");
std::string octave_name_version_and_copyright(bool html)
std::string octave_name_version_copyright_copying_and_warranty(bool html, const std::string &extra_info)
std::string octave_bugs_statement(bool html)
std::string octave_www_statement(bool html)
std::string octave_name_version_copyright_copying_warranty_and_bugs(bool html, const std::string &extra_info)
std::string octave_startup_message(bool html)
std::string octave_contrib_statement(bool html)
#define OCTAVE_CANONICAL_HOST_TYPE