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.
6 AC_CONFIG_SRCDIR([make/lilypond.lsm.in])
7 AC_CONFIG_HEADER($CONFIGFILE.h:config.hh.in)
9 # Bootstrap StepMake configure
12 # For all packages except the StepMake package itself
13 AC_CONFIG_SUBDIRS(stepmake)
15 # Uncomment the configuration options your package needs.
17 # must come before any header checks
20 STEPMAKE_GCC(REQUIRED, 2.8)
21 STEPMAKE_CXX(REQUIRED)
22 STEPMAKE_GXX(REQUIRED, 2.95)
24 STEPMAKE_LIB(REQUIRED)
25 STEPMAKE_BISON(REQUIRED, 1.25)
26 STEPMAKE_FLEX(REQUIRED)
27 STEPMAKE_FLEXLEXER(REQUIRED)
30 STEPMAKE_MSGFMT(REQUIRED)
33 STEPMAKE_GUILE_DEVEL(REQUIRED, 1.3.4)
35 STEPMAKE_MAKEINFO(REQUIRED)
36 STEPMAKE_PYTHON_DEVEL(REQUIRED)
39 # AC_CHECK_HEADERS([limits.h malloc.h string.h unistd.h values.h])
40 AC_CHECK_HEADERS([assert.h sys/stat.h])
45 AC_CHECK_FUNCS(memmem snprintf vsnprintf gettext isinf)
48 ## Optional tools for building documentation, website, extra fonts.
50 # guile executable for some scripts
51 STEPMAKE_GUILE(OPTIONAL)
53 STEPMAKE_PERL(OPTIONAL)
54 # pktrace for generating pfa's, pfb's
55 STEPMAKE_PROGS(PKTRACE, pktrace, OPTIONAL, 1.0.3)
56 # new makeinfo for multi-page website docs
57 STEPMAKE_PROGS(MAKEINFO, makeinfo, OPTIONAL, 4.1)
60 if test "$optimise_b" = yes; then
61 DEFINES="$DEFINES -DSTRING_UTILS_INLINED"
62 AC_DEFINE(STRINGS_UTILS_INLINED)
66 AC_DEFINE_UNQUOTED(TOPLEVEL_VERSION, "${FULL_VERSION}")
67 AC_DEFINE_UNQUOTED(FLOWER_VERSION, "${FULL_FLOWER_VERSION}")
69 # Gather requirements and generate output.
73 test -n "$CONFIGURATION" && mc=" conf=$CONFIGURATION" || mc=""
78 make$mc all to build LilyPond
79 make$mc install to install LilyPond
80 make$mc help to see all possible targets
82 Do not worry if ./Documentation or ./mutopia should not build.