]> git.donarmstrong.com Git - lilypond.git/blob - configure.in
* stepmake/bin/install-sh: Include latest from libtool.
[lilypond.git] / configure.in
1 dnl configure.in   -*-shell-script-*-
2 dnl Process this file with autoconf to produce a configure script. 
3
4 # Bootstrap the init proces.  List a file identifies your package.
5 AC_INIT(make/lilypond.lsm.in)
6 AC_CONFIG_HEADER($CONFIGFILE.h:config.hh.in)
7
8 # Bootstrap StepMake configure
9 STEPMAKE_INIT
10
11 # For all packages except the StepMake package itself
12 AC_CONFIG_SUBDIRS(stepmake)
13
14 # Uncomment the configuration options your package needs.
15 STEPMAKE_COMPILE
16 # AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
17 AC_HAVE_HEADERS(assert.h sys/stat.h)
18 AC_HEADER_STAT
19
20 STEPMAKE_CXX(REQUIRED)
21 STEPMAKE_GXX(REQUIRED)
22 STEPMAKE_CXXTEMPLATE
23 STEPMAKE_BISON(REQUIRED, 1.25)
24 STEPMAKE_FLEX(REQUIRED)
25 STEPMAKE_LIB(REQUIRED)
26 STEPMAKE_LOCALE
27 STEPMAKE_GETTEXT
28 STEPMAKE_MSGFMT(REQUIRED)
29 STEPMAKE_TEXMF
30 STEPMAKE_TEXMF_DIRS
31 STEPMAKE_GUILE(OPTIONAL)
32 STEPMAKE_GUILE_DEVEL(REQUIRED, 1.3.4)
33 STEPMAKE_KPATHSEA
34 STEPMAKE_MAKEINFO(REQUIRED)
35 STEPMAKE_PYTHON_DEVEL(REQUIRED)
36
37 ##need perl for help2man.
38 STEPMAKE_PERL(OPTIONAL)
39
40
41 if test "$optimise_b" = yes; then
42     DEFINES="$DEFINES -DSTRING_UTILS_INLINED"
43     AC_DEFINE(STRINGS_UTILS_INLINED)
44 fi
45
46
47 AC_FUNC_MEMCMP
48 AC_FUNC_VPRINTF
49 AC_CHECK_FUNCS(memmem snprintf vsnprintf gettext isinf)
50
51 AC_DEFINE_UNQUOTED(TOPLEVEL_VERSION, "${FULL_VERSION}")
52 AC_DEFINE_UNQUOTED(FLOWER_VERSION, "${FULL_FLOWER_VERSION}")
53
54 STEPMAKE_END
55
56 test -n "$CONFIGURATION" && mc=" conf=$CONFIGURATION" || mc=""
57
58 cat <<EOF
59
60 Type:
61     make$mc all       to build LilyPond
62     make$mc install   to install LilyPond
63     make$mc help      to see all possible targets
64
65 Do not worry if ./Documentation or ./mutopia should not build.
66 EOF