#include "version.hh"
#include "warn.hh"
-const char * FRAMEWORKDIR = "..";
+#define FRAMEWORKDIR ".."
int
#ifdef GHOSTSCRIPT_VERSION
GHOSTSCRIPT_VERSION
#else
- "8.15"
+ "ghostscript-version-undefined"
#endif
;
if (argv0_prefix != compile_prefix)
prefix_relocation (argv0_prefix);
if (argv0_prefix != compile_prefix || string (FRAMEWORKDIR) != "..")
- framework_relocation (bindir + "/" FRAMEWORKDIR);
+ framework_relocation (bindir + "/" + FRAMEWORKDIR);
}
/* FIXME: use LILYPOND_DATADIR. */
/* Adding mf/out make lilypond unchanged source directory, when setting
LILYPONDPREFIX to lilypond-x.y.z */
- char *suffixes[] = {"ly", "ps", "scm", 0 };
+ char const *suffixes[] = {"ly", "ps", "scm", 0 };
vector<string> dirs;
- for (char **s = suffixes; *s; s++)
+ for (char const **s = suffixes; *s; s++)
{
string path = prefix_directory + to_string ('/') + string (*s);
dirs.push_back (path);