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.
29 [ --enable-gui compile with experimental GNOME output module. Default: off],
32 # must come before any header checks
35 STEPMAKE_PYTHON(REQUIRED,2.1)
36 STEPMAKE_GCC(REQUIRED, 2.8)
37 STEPMAKE_CXX(REQUIRED)
38 STEPMAKE_GXX(REQUIRED, 3.0.5)
40 STEPMAKE_LIB(REQUIRED)
41 # Do not use bison 1.50 and 1.75.
42 STEPMAKE_BISON(REQUIRED, 1.25)
43 STEPMAKE_FLEX(REQUIRED)
44 STEPMAKE_FLEXLEXER(REQUIRED)
48 STEPMAKE_MSGFMT(REQUIRED)
51 STEPMAKE_GUILE_DEVEL(REQUIRED, 1.6)
53 STEPMAKE_MAKEINFO(REQUIRED)
54 STEPMAKE_PYTHON_DEVEL(REQUIRED)
57 AC_CHECK_HEADERS([assert.h sys/stat.h])
59 AC_CHECK_HEADERS([sstream])
64 AC_CHECK_FUNCS([gettext isinf memmem snprintf vsnprintf gettext])
67 # This is developer only anyway, help pkgconfig a bit
68 export PKG_CONFIG_PATH
69 PKG_CONFIG_PATH=/usr/lib/pkgconfig:$PKG_CONFIG_PATH
70 PKG_CONFIG_PATH=/opt/gnome/lib/pkgconfig:$PKG_CONFIG_PATH
71 PKG_CONFIG_PATH=$HOME/usr/pkg/gnome/lib/pkgconfig:$PKG_CONFIG_PATH
72 PKG_CONFIG_PATH=$HOME/usr/pkg/pango/lib/pkgconfig:$PKG_CONFIG_PATH
75 if test "$gui_b" = "yes"; then
80 ## Optional tools for building documentation, website, extra fonts.
82 # guile executable for some scripts
83 STEPMAKE_GUILE(OPTIONAL)
85 STEPMAKE_PERL(OPTIONAL)
86 # mftrace for generating pfa's, pfb's
87 STEPMAKE_PROGS(MFTRACE, mftrace, OPTIONAL, 1.0.27)
89 # new makeinfo for multi-page website docs
90 STEPMAKE_PROGS(MAKEINFO, makeinfo, OPTIONAL, 4.6)
91 AC_SUBST(MAKEINFO_VERSION)
94 if test "$optimise_b" = yes; then
95 DEFINES="$DEFINES -DSTRING_UTILS_INLINED"
96 AC_DEFINE(STRINGS_UTILS_INLINED)
100 AC_DEFINE_UNQUOTED(TOPLEVEL_VERSION, "${FULL_VERSION}")
101 AC_DEFINE_UNQUOTED(FLOWER_VERSION, "${FULL_FLOWER_VERSION}")
103 # Gather requirements and generate output.
107 test -n "$CONFIGURATION" && mc=" conf=$CONFIGURATION" || mc=""
112 make$mc all to build LilyPond
113 make$mc install to install LilyPond
114 make$mc help to see all possible targets