Show ./configure invocation in crash log.
This commit is contained in:
@@ -103,7 +103,8 @@ char *CrashLog::LogOpenTTDVersion(char *buffer, const char *last) const
|
||||
" Bits: %d\n"
|
||||
" Endian: %s\n"
|
||||
" Dedicated: %s\n"
|
||||
" Build date: %s\n\n",
|
||||
" Build date: %s\n"
|
||||
" Configure: %s\n\n",
|
||||
_openttd_revision,
|
||||
_openttd_revision_modified,
|
||||
_openttd_newgrf_version,
|
||||
@@ -122,7 +123,8 @@ char *CrashLog::LogOpenTTDVersion(char *buffer, const char *last) const
|
||||
#else
|
||||
"no",
|
||||
#endif
|
||||
_openttd_build_date
|
||||
_openttd_build_date,
|
||||
_openttd_build_configure
|
||||
);
|
||||
}
|
||||
|
||||
|
@@ -49,6 +49,12 @@ const char _openttd_revision[] = "!!VERSION!!";
|
||||
*/
|
||||
const char _openttd_build_date[] = __DATE__ " " __TIME__;
|
||||
|
||||
|
||||
/**
|
||||
* The configure invocation used to build OpenTTD
|
||||
*/
|
||||
const char _openttd_build_configure[] = "!!CONFIGURE_INVOCATION!!";
|
||||
|
||||
/**
|
||||
* Let us know if current build was modified. This detection
|
||||
* works even in the case when revision string is overridden by
|
||||
|
Reference in New Issue
Block a user