]> git.donarmstrong.com Git - lilypond.git/blob - configure.in
release: 1.5.44
[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 AC_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 AC_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 AC_STEPMAKE_CXX
21 AC_STEPMAKE_GXX
22 AC_STEPMAKE_CXXTEMPLATE
23 AC_STEPMAKE_LEXYACC
24 AC_STEPMAKE_LIB
25 AC_STEPMAKE_LOCALE
26 AC_STEPMAKE_GETTEXT
27 AC_STEPMAKE_MSGFMT
28 AC_STEPMAKE_TEXMF
29 AC_STEPMAKE_TEXMF_DIRS
30 AC_STEPMAKE_GUILE
31 AC_STEPMAKE_KPATHSEA
32
33
34 if test "$optimise_b" = yes; then
35     DEFINES="$DEFINES -DSTRING_UTILS_INLINED"
36     AC_DEFINE(STRINGS_UTILS_INLINED)
37 fi
38
39
40 dnl should check out -print
41 dnl huh?
42 dnl AC_CHECK_SEARCH_RESULT($FIND, find, Please use --enable-tex-dir)
43
44 AC_FUNC_MEMCMP
45 AC_FUNC_VPRINTF
46 AC_CHECK_FUNCS(memmem snprintf vsnprintf gettext isinf)
47
48 AC_DEFINE_UNQUOTED(TOPLEVEL_VERSION, "${FULL_VERSION}")
49 AC_DEFINE_UNQUOTED(FLOWER_VERSION, "${FULL_FLOWER_VERSION}")
50
51 AC_STEPMAKE_MAKEINFO
52
53
54 dnl need perl for help2man.
55 AC_PATH_PROG(PERL, perl, error)
56
57 AC_HAVE_HEADERS(python2.2/Python.h python2.1/Python.h python2.0/Python.h python2/Python.h python/Python.h python1.5/Python.h Python.h)
58
59
60 AC_STEPMAKE_END
61
62 test -n "$CONFIGURATION" && mc=" conf=$CONFIGURATION" || mc=""
63
64 cat <<EOF
65
66 Type:
67     make$mc all       to build LilyPond
68     make$mc install   to install LilyPond
69     make$mc help      to see all possible targets
70
71 Do not worry if ./Documentation or ./mutopia should not build.
72 EOF