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)
19 AC_SUBST(PACKAGE_NAME)
20 AC_SUBST(MAJOR_VERSION)
21 AC_SUBST(MINOR_VERSION)
23 AC_SUBST(MY_PATCH_LEVEL)
26 # List a file that identifies your package.
27 AC_CONFIG_SRCDIR([lily/main.cc])
30 AC_CONFIG_HEADER([$CONFIGFILE.h:config.hh.in])
32 # Uncomment the configuration options your package needs.
34 # must come before any header checks
37 STEPMAKE_PYTHON(REQUIRED,2.1)
38 STEPMAKE_GCC(REQUIRED, 2.8)
39 STEPMAKE_CXX(REQUIRED)
40 STEPMAKE_GXX(REQUIRED, 3.0)
42 STEPMAKE_LIB(REQUIRED)
43 # Do not use bison 1.50 and 1.75.
44 STEPMAKE_BISON(REQUIRED, 1.25)
45 STEPMAKE_FLEX(REQUIRED)
46 STEPMAKE_FLEXLEXER(REQUIRED)
49 STEPMAKE_MSGFMT(REQUIRED)
52 STEPMAKE_GUILE_DEVEL(REQUIRED, 1.6)
54 STEPMAKE_MAKEINFO(REQUIRED)
55 STEPMAKE_PYTHON_DEVEL(REQUIRED)
58 AC_CHECK_HEADERS([assert.h sys/stat.h sstream])
63 AC_CHECK_FUNCS([gettext isinf memmem snprintf vsnprintf gettext])
66 ## Optional tools for building documentation, website, extra fonts.
68 # guile executable for some scripts
69 STEPMAKE_GUILE(OPTIONAL)
71 STEPMAKE_PERL(OPTIONAL)
72 # mftrace for generating pfa's, pfb's
73 STEPMAKE_PROGS(MFTRACE, pktrace mftrace, OPTIONAL, 1.0.17)
74 # new makeinfo for multi-page website docs
75 STEPMAKE_PROGS(MAKEINFO, makeinfo, OPTIONAL, 4.1)
78 if test "$optimise_b" = yes; then
79 DEFINES="$DEFINES -DSTRING_UTILS_INLINED"
80 AC_DEFINE(STRINGS_UTILS_INLINED)
84 AC_DEFINE_UNQUOTED(TOPLEVEL_VERSION, "${FULL_VERSION}")
85 AC_DEFINE_UNQUOTED(FLOWER_VERSION, "${FULL_FLOWER_VERSION}")
87 # Gather requirements and generate output.
91 test -n "$CONFIGURATION" && mc=" conf=$CONFIGURATION" || mc=""
96 make$mc all to build LilyPond
97 make$mc install to install LilyPond
98 make$mc help to see all possible targets
100 Do not worry if ./Documentation should not build.