]> git.donarmstrong.com Git - lilypond.git/blob - configure.in
release: 1.0.15
[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
18 printing_b=no
19 AC_ARG_ENABLE(printing,
20     [  enable-printing         turn on debug printing. Default: off],
21     [printing_b=$enableval])
22
23 if test "$optimise_b" = yes; then
24     DEFINES="$DEFINES -DSTRING_UTILS_INLINED"
25     AC_DEFINE(STRINGS_UTILS_INLINED)
26 fi
27
28 AC_STEPMAKE_CXX
29 AC_STEPMAKE_GXX
30 AC_STEPMAKE_CXXTEMPLATE
31 AC_STEPMAKE_LEXYACC
32 AC_STEPMAKE_LIB
33 # AC_STEPMAKE_LIBTOOL
34 AC_STEPMAKE_LOCALE
35 AC_STEPMAKE_GETTEXT
36 AC_STEPMAKE_MSGFMT
37 # AC_STEPMAKE_TEXMF
38 AC_STEPMAKE_YODL
39
40
41 dnl should check out -print
42 dnl huh?
43 dnl AC_CHECK_SEARCH_RESULT($FIND, find, Please use --enable-tex-dir)
44
45 AC_FUNC_MEMCMP
46 AC_FUNC_VPRINTF
47 AC_CHECK_FUNCS(memmem snprintf vsnprintf gettext)
48
49 AC_DEFINE_UNQUOTED(TOPLEVEL_VERSION, "${FULL_VERSION}")
50 AC_DEFINE_UNQUOTED(FLOWER_VERSION, "${FULL_FLOWER_VERSION}")
51
52 AC_CHECK_PROGS(MAKEINFO, makeinfo, error)
53 AC_CHECK_SEARCH_RESULT($YODL2TEXINFO, yodl,  
54     You should install Yodl 1.30.2 or better)
55
56 AC_STEPMAKE_END
57