]> git.donarmstrong.com Git - lilypond.git/blob - lily/lily-version.cc
* configure.in: Test for and accept lmodern if EC fonts not found.
[lilypond.git] / lily / lily-version.cc
1 /*
2   lily-version.cc -- implement version strings
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1999--2004 Jan Nieuwenhuizen <janneke@gnu.org>
7 */
8
9 #include "lily-version.hh"
10
11 #include "config.hh"
12 #include "version.hh"
13
14 String
15 version_string ()
16 {
17   String str = MAJOR_VERSION "." MINOR_VERSION "."  PATCH_LEVEL;
18   String mpl ("." MY_PATCH_LEVEL);
19   if (mpl != ".")
20     str += mpl;
21   return str;
22 }
23
24 String 
25 gnu_lilypond_string ()
26 {
27   String str = "GNU LilyPond";
28   return str;
29 }
30
31 String 
32 gnu_lilypond_version_string ()
33 {
34   String str = gnu_lilypond_string () + " " + version_string ();
35   return str;
36 }
37