source file of the GNU LilyPond music typesetter
- (c) 1999 Jan Nieuwenhuizen <janneke@gnu.org>
+ (c) 1999--2001 Jan Nieuwenhuizen <janneke@gnu.org>
*/
-#include "config.hh"
+#include "config.h"
#include "version.hh"
#include "lily-version.hh"
-#define VERSION MAJOR_VERSION "." MINOR_VERSION "." PATCH_LEVEL "." MY_PATCH_LEVEL
-
String
version_str ()
{
- String str = VERSION;
+ String str (MAJOR_VERSION "." MINOR_VERSION "." PATCH_LEVEL);
+ String mpl ("." MY_PATCH_LEVEL);
+ if (mpl != ".")
+ str += mpl;
return str;
}