1 dnl configure.in -*-shell-script-*-
2 dnl Process this file with autoconf to produce a configure script.
4 # Bootstrap the init proces. List a file identifies your package.
5 AC_INIT(make/lilypond.lsm.in)
6 AC_CONFIG_HEADER($CONFIGFILE.h:config.hh.in)
8 # Bootstrap StepMake configure
11 # For all packages except the StepMake package itself
12 AC_CONFIG_SUBDIRS(stepmake)
14 # Uncomment the configuration options your package needs.
16 # AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
17 AC_HAVE_HEADERS(assert.h sys/stat.h)
20 STEPMAKE_CXX(REQUIRED)
21 STEPMAKE_GXX(REQUIRED)
23 STEPMAKE_BISON(REQUIRED, 1.25)
24 STEPMAKE_FLEX(REQUIRED)
25 STEPMAKE_LIB(REQUIRED)
28 STEPMAKE_MSGFMT(REQUIRED)
31 STEPMAKE_GUILE_DEVEL(REQUIRED, 1.3.4)
33 STEPMAKE_MAKEINFO(REQUIRED)
34 STEPMAKE_PYTHON_DEVEL(REQUIRED)
37 ## Optional tools for building documentation, website, extra fonts.
39 # guile executable for some scripts
40 STEPMAKE_GUILE(OPTIONAL)
42 STEPMAKE_PERL(OPTIONAL)
43 # pktrace for generating pfa's, pfb's
44 STEPMAKE_PROGS(PKTRACE, pktrace, OPTIONAL, 1.0.3)
45 # new makeinfo for multi-page website docs
46 STEPMAKE_PROGS(MAKEINFO, makeinfo, OPTIONAL, 4.1)
49 if test "$optimise_b" = yes; then
50 DEFINES="$DEFINES -DSTRING_UTILS_INLINED"
51 AC_DEFINE(STRINGS_UTILS_INLINED)
57 AC_CHECK_FUNCS(memmem snprintf vsnprintf gettext isinf)
59 AC_DEFINE_UNQUOTED(TOPLEVEL_VERSION, "${FULL_VERSION}")
60 AC_DEFINE_UNQUOTED(FLOWER_VERSION, "${FULL_FLOWER_VERSION}")
62 # Gather requirements and generate output.
66 test -n "$CONFIGURATION" && mc=" conf=$CONFIGURATION" || mc=""
71 make$mc all to build LilyPond
72 make$mc install to install LilyPond
73 make$mc help to see all possible targets
75 Do not worry if ./Documentation or ./mutopia should not build.