1 dnl configure.in -*-shell-script-*-
2 dnl Process this file with autoconf to produce a configure script.
4 # Bootstrap the init proces.
7 # Bootstrap StepMake configure
9 AC_CONFIG_AUX_DIR([stepmake/bin])
10 # For stepmake package:
11 # AC_CONFIG_AUX_DIR(bin)
18 # List a file that identifies your package.
19 AC_CONFIG_SRCDIR([lily/main.cc])
22 AC_CONFIG_HEADER([$CONFIGFILE.h:config.hh.in])
24 # Uncomment the configuration options your package needs.
26 # must come before any header checks
29 STEPMAKE_PYTHON(REQUIRED,2.1)
30 STEPMAKE_GCC(REQUIRED, 2.8)
31 STEPMAKE_CXX(REQUIRED)
32 STEPMAKE_GXX(REQUIRED, 3.0.5)
34 STEPMAKE_LIB(REQUIRED)
35 # Do not use bison 1.50 and 1.75.
36 STEPMAKE_BISON(REQUIRED, 1.25)
37 STEPMAKE_FLEX(REQUIRED)
38 STEPMAKE_FLEXLEXER(REQUIRED)
41 STEPMAKE_MSGFMT(REQUIRED)
44 STEPMAKE_GUILE_DEVEL(REQUIRED, 1.6)
46 STEPMAKE_MAKEINFO(REQUIRED)
47 STEPMAKE_PYTHON_DEVEL(REQUIRED)
50 AC_CHECK_HEADERS([assert.h sys/stat.h sstream])
55 AC_CHECK_FUNCS([gettext isinf memmem snprintf vsnprintf gettext])
58 ## Optional tools for building documentation, website, extra fonts.
60 # guile executable for some scripts
61 STEPMAKE_GUILE(OPTIONAL)
63 STEPMAKE_PERL(OPTIONAL)
64 # mftrace for generating pfa's, pfb's
65 STEPMAKE_PROGS(MFTRACE, mftrace, OPTIONAL, 1.0.27)
67 # new makeinfo for multi-page website docs
68 STEPMAKE_PROGS(MAKEINFO, makeinfo, OPTIONAL, 4.6)
69 AC_SUBST(MAKEINFO_VERSION)
72 if test "$optimise_b" = yes; then
73 DEFINES="$DEFINES -DSTRING_UTILS_INLINED"
74 AC_DEFINE(STRINGS_UTILS_INLINED)
78 AC_DEFINE_UNQUOTED(TOPLEVEL_VERSION, "${FULL_VERSION}")
79 AC_DEFINE_UNQUOTED(FLOWER_VERSION, "${FULL_FLOWER_VERSION}")
81 # Gather requirements and generate output.
85 test -n "$CONFIGURATION" && mc=" conf=$CONFIGURATION" || mc=""
90 make$mc all to build LilyPond
91 make$mc install to install LilyPond
92 make$mc help to see all possible targets
94 Do not worry if ./Documentation should not build.