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 export PACKAGE_NAME=LilyPond
15 export MAJOR_VERSION=1
16 export MINOR_VERSION=9
18 export MY_PATCH_LEVEL=
23 AC_SUBST(PACKAGE_NAME)
24 AC_SUBST(MAJOR_VERSION)
25 AC_SUBST(MINOR_VERSION)
27 AC_SUBST(MY_PATCH_LEVEL)
30 # List a file that identifies your package.
31 AC_CONFIG_SRCDIR([lily/main.cc])
34 AC_CONFIG_HEADER([$CONFIGFILE.h:config.hh.in])
36 # Uncomment the configuration options your package needs.
38 # must come before any header checks
41 STEPMAKE_PYTHON(REQUIRED,2.1)
42 STEPMAKE_GCC(REQUIRED, 2.8)
43 STEPMAKE_CXX(REQUIRED)
44 STEPMAKE_GXX(REQUIRED, 3.0)
46 STEPMAKE_LIB(REQUIRED)
47 # Do not use bison 1.50 and 1.75.
48 STEPMAKE_BISON(REQUIRED, 1.25)
49 STEPMAKE_FLEX(REQUIRED)
50 STEPMAKE_FLEXLEXER(REQUIRED)
53 STEPMAKE_MSGFMT(REQUIRED)
56 STEPMAKE_GUILE_DEVEL(REQUIRED, 1.6)
58 STEPMAKE_MAKEINFO(REQUIRED)
59 STEPMAKE_PYTHON_DEVEL(REQUIRED)
62 AC_CHECK_HEADERS([assert.h sys/stat.h sstream])
67 AC_CHECK_FUNCS([gettext isinf memmem snprintf vsnprintf gettext])
70 ## Optional tools for building documentation, website, extra fonts.
72 # guile executable for some scripts
73 STEPMAKE_GUILE(OPTIONAL)
75 STEPMAKE_PERL(OPTIONAL)
76 # mftrace for generating pfa's, pfb's
77 STEPMAKE_PROGS(MFTRACE, pktrace mftrace, OPTIONAL, 1.0.17)
78 # new makeinfo for multi-page website docs
79 STEPMAKE_PROGS(MAKEINFO, makeinfo, OPTIONAL, 4.1)
82 if test "$optimise_b" = yes; then
83 DEFINES="$DEFINES -DSTRING_UTILS_INLINED"
84 AC_DEFINE(STRINGS_UTILS_INLINED)
88 AC_DEFINE_UNQUOTED(TOPLEVEL_VERSION, "${FULL_VERSION}")
89 AC_DEFINE_UNQUOTED(FLOWER_VERSION, "${FULL_FLOWER_VERSION}")
91 # Gather requirements and generate output.
95 test -n "$CONFIGURATION" && mc=" conf=$CONFIGURATION" || mc=""
100 make$mc all to build LilyPond
101 make$mc install to install LilyPond
102 make$mc help to see all possible targets
104 Do not worry if ./Documentation should not build.