If you do not want to use PostScript output, edit @file{mf/GNUmakefile}.
+@item kpathsea, a library for searching (TeX) files. @code{kpathsea} is
+usually included with your installation of TeX.
+
@end itemize
NAME = lilypond
SUBDIRS = include
+EXTRA_LIBES=-lkpathsea
MODULE_LIBS=$(depth)/flower
-MODULE_INCLUDES= $(depth)/flower/include
+MODULE_INCLUDES= $(depth)/flower/include
MODULE_CXXFLAGS=
HELP2MAN_EXECS = lilypond
STEPMAKE_TEMPLATES= c++ executable po help2man
include $(depth)/make/stepmake.make
-
+EXTRA_LIBES=-lkpathsea
# force these: Make can't know these have to be generated in advance
$(outdir)/my-lily-parser.o: $(outdir)/parser.hh
$(outdir)/my-lily-lexer.o: $(outdir)/parser.hh
#include "lily-version.hh"
#include "all-font-metrics.hh"
-#include "proto.hh"
#include "getopt-long.hh"
#include "misc.hh"
#include "string.hh"
#include <libintl.h>
#endif
+extern "C" {
+#include <kpathsea/kpathsea.h>
+}
bool verbose_global_b = false;
bool no_paper_global_b = false;
setenv ("GUILE_INIT_SEGMENT_SIZE_1", "4194304", 0);
setenv ("GUILE_MAX_SEGMENT_SIZE", "8388608", 0);
+ /*
+ initialize kpathsea
+ */
+ kpse_set_program_name(argv[0], NULL);
+ kpse_maketex_option("tfm", TRUE);
+
oparser_global_p = new Getopt_long(argc, argv,theopts);
while (Long_option_init const * opt = (*oparser_global_p)())
{