const char* const panner_dir_name = X_("panners");
const char* const backend_dir_name = X_("backends");
-char config_dir_name[] = X_(PROGRAM_NAME "3");
+char config_dir_name[] = X_(PROGRAM_NAME PROGRAM_VERSION);
#if defined (__APPLE__) || defined (PLATFORM_WINDOWS)
const char* const user_config_dir_name = config_dir_name;
#else
# because if it is, it breaks waf somehow.
#
VERSION = V.encode ('ascii', 'ignore')
-APPNAME = 'Ardour' + MAJOR
+PROGRAM_VERSION = MAJOR.encode ('ascii', 'ignore')
# Mandatory variables
top = '.'
compiler_flags.append('-DENABLE_NLS')
compiler_flags.append ('-DPROGRAM_NAME="' + Options.options.program_name + '"')
+ compiler_flags.append ('-DPROGRAM_VERSION="' + PROGRAM_VERSION + '"')
if opt.debug:
conf.env.append_value('CFLAGS', debug_flags)