From 49da1385d746913a2741c5efdecced272f0e8491 Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 14 Mar 1997 14:31:01 +0000 Subject: [PATCH] lilypond-0.0.42 --- lily/main.cc | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/lily/main.cc b/lily/main.cc index 1073f940bf..43a44f3c52 100644 --- a/lily/main.cc +++ b/lily/main.cc @@ -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 \n" - "Contributors\n" " Jan Nieuwenhuizen \n" + "Contributors\n" " Mats Bengtsson \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()) { -- 2.39.5