Replace version with brand for .conf file suffix
This commit is contained in:
parent
5d644b4f53
commit
57d61085e2
2 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
|||
dnl Init.
|
||||
AC_INIT(dosbox,git)
|
||||
AC_DEFINE([CONF_BRAND],["staging-git"],[Suffix of the .conf file.])
|
||||
AC_PREREQ(2.50)
|
||||
AC_CONFIG_SRCDIR(README)
|
||||
|
||||
|
|
|
@ -71,11 +71,11 @@ void Cross::GetPlatformConfigDir(std::string& in) {
|
|||
|
||||
void Cross::GetPlatformConfigName(std::string& in) {
|
||||
#ifdef WIN32
|
||||
#define DEFAULT_CONFIG_FILE "dosbox-" VERSION ".conf"
|
||||
#define DEFAULT_CONFIG_FILE "dosbox-" CONF_BRAND ".conf"
|
||||
#elif defined(MACOSX)
|
||||
#define DEFAULT_CONFIG_FILE "DOSBox " VERSION " Preferences"
|
||||
#define DEFAULT_CONFIG_FILE "DOSBox " CONF_BRAND " Preferences"
|
||||
#else /*linux freebsd*/
|
||||
#define DEFAULT_CONFIG_FILE "dosbox-" VERSION ".conf"
|
||||
#define DEFAULT_CONFIG_FILE "dosbox-" CONF_BRAND ".conf"
|
||||
#endif
|
||||
in = DEFAULT_CONFIG_FILE;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue