bk: 64574eee3QXLqYzBjx0YQhxCGB0H9Q
Integrated patch from Brian Utterback. <hart@ntp.org>
* [Bug 2525] Turn on automake subdir-objects across the project. <hart@ntp.org>
* [Bug 2410] syslog an error message on panic exceeded. <brian.utterback@oracle.com>
+* If DEBUG is enabled, the startup banner now says that debug assertions
+ are in force and that ntpd will abort if any are violated. <stenn@ntp.org>
* syslog valid incoming KoDs. <stenn@ntp.org>
* Rename a poorly-named variable. <stenn@ntp.org>
* Disable "embedded NUL in string" messages in libopts, when we can. <stenn@>
msyslog(LOG_NOTICE, "corporation. Support and training for ntp-4 are");
msyslog(LOG_NOTICE, "available at https://www.nwtime.org/support");
msyslog(LOG_NOTICE, "----------------------------------------------------");
+#ifdef DEBUG
+ msyslog(LOG_NOTICE, "DEBUG behavior is enabled - a violation of any");
+ msyslog(LOG_NOTICE, "diagnostic assertion will cause %s to abort", progname);
+#endif
/*
* Install trap handlers to log errors and assertion failures.