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)
14 # List a file that identifies your package.
15 ## huh, lsm.in silently [re]moved?
16 ##AC_CONFIG_SRCDIR([make/lilypond.lsm.in])
17 AC_CONFIG_SRCDIR([lily/main.cc])
19 AC_CONFIG_HEADER([$CONFIGFILE.h:config.hh.in])
21 # For all packages except the StepMake package itself
22 AC_CONFIG_SUBDIRS(stepmake)
24 # Uncomment the configuration options your package needs.
26 # must come before any header checks
29 STEPMAKE_PYTHON(REQUIRED,2.0)
30 STEPMAKE_GCC(REQUIRED, 2.8)
31 STEPMAKE_CXX(REQUIRED)
32 STEPMAKE_GXX(REQUIRED, 2.95)
34 STEPMAKE_LIB(REQUIRED)
35 STEPMAKE_BISON(REQUIRED, 1.25)
36 STEPMAKE_FLEX(REQUIRED)
37 STEPMAKE_FLEXLEXER(REQUIRED)
40 STEPMAKE_MSGFMT(REQUIRED)
43 STEPMAKE_GUILE_DEVEL(REQUIRED, 1.6)
45 STEPMAKE_MAKEINFO(REQUIRED)
46 STEPMAKE_PYTHON_DEVEL(REQUIRED)
49 AC_CHECK_HEADERS([assert.h sys/stat.h sstream])
54 AC_CHECK_FUNCS([memmem snprintf vsnprintf gettext isinf])
57 ## Optional tools for building documentation, website, extra fonts.
59 # guile executable for some scripts
60 STEPMAKE_GUILE(OPTIONAL)
62 STEPMAKE_PERL(OPTIONAL)
63 # mftrace for generating pfa's, pfb's
64 STEPMAKE_PROGS(MFTRACE, pktrace mftrace, OPTIONAL, 1.0.9)
65 # new makeinfo for multi-page website docs
66 STEPMAKE_PROGS(MAKEINFO, makeinfo, OPTIONAL, 4.1)
69 if test "$optimise_b" = yes; then
70 DEFINES="$DEFINES -DSTRING_UTILS_INLINED"
71 AC_DEFINE(STRINGS_UTILS_INLINED)
75 AC_DEFINE_UNQUOTED(TOPLEVEL_VERSION, "${FULL_VERSION}")
76 AC_DEFINE_UNQUOTED(FLOWER_VERSION, "${FULL_FLOWER_VERSION}")
78 # Gather requirements and generate output.
82 test -n "$CONFIGURATION" && mc=" conf=$CONFIGURATION" || mc=""
87 make$mc all to build LilyPond
88 make$mc install to install LilyPond
89 make$mc help to see all possible targets
91 Do not worry if ./Documentation should not build.