]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.42
authorfred <fred>
Fri, 14 Mar 1997 14:31:01 +0000 (14:31 +0000)
committerfred <fred>
Fri, 14 Mar 1997 14:31:01 +0000 (14:31 +0000)
lily/main.cc

index 1073f940bf60f2293d06901a57033b1cecad5a23..43a44f3c5219aaba106d8b6080977c42d6c41caa 100644 (file)
@@ -42,8 +42,21 @@ help()
        "--init, -i             set init file\n"
         "--include, -I         add to file search path.\n"
        "--midi, -M             midi output only\n"
+       "\n"
+       "LilyPond was compiled with the following settings:\n"
+#ifdef NDEBUG
+       "NDEBUG "       
+#endif
+#ifdef NPRINT
+       "NPRINT "
+#endif
+#ifdef STRING_UTILS_INLINED
+       "STRING_UTILS_INLINED "
+#endif
+       "datadir= " DIR_DATADIR "\n" 
        ;
     
+    
 }
 
 void 
@@ -54,8 +67,8 @@ notice()
        "LilyPond, a music typesetter.\n"
        "Copyright (C) 1996,97 by\n"
        "  Han-Wen Nienhuys <hanwen@stack.nl>\n"
-       "Contributors\n"
        "  Jan Nieuwenhuizen <jan@digicash.com>\n"
+       "Contributors\n"
        "  Mats Bengtsson <matsb@s3.kth.se>\n"
        "\n"
        "    This program is free software; you can redistribute it and/or\n"
@@ -76,8 +89,8 @@ notice()
 static File_path * path =0;
 struct Main_init {
     Main_init() {
-       path = new File_path(LIBDIR);
-       path->push(String(LIBDIR)+"init/");
+       path = new File_path(String(DIR_DATADIR)+"/init/");
+       path->push(DIR_DATADIR );
        debug_init();
     }
     ~Main_init() {
@@ -89,7 +102,7 @@ int
 main (int argc, char **argv)
 {    
     Getopt_long oparser(argc, argv,theopts);
-    cout << get_version();
+    cout << get_version_str() << endl;
     String init_str("symbol.ini");
     
     while (Long_option_init * opt = oparser()) {