lilypond-1.4.2
[lilypond.git] / configure.in
blobaf4081418ac3cb51e8b9d7643238c4ebb260a4a1
1 dnl configure.in   -*-shell-script-*-
2 dnl Process this file with autoconf to produce a configure script. 
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)
8 # Bootstrap StepMake configure
9 AC_STEPMAKE_INIT
11 # For all packages except the StepMake package itself
12 AC_CONFIG_SUBDIRS(stepmake)
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
20 DEFINES="$DEFINES -DSTRING_UTILS_INLINED"
21 AC_DEFINE(STRINGS_UTILS_INLINED)
23 AC_STEPMAKE_CXX
24 AC_STEPMAKE_GXX
25 AC_STEPMAKE_CXXTEMPLATE
26 AC_STEPMAKE_LEXYACC
27 AC_STEPMAKE_LIB
28 AC_STEPMAKE_LOCALE
29 AC_STEPMAKE_GETTEXT
30 AC_STEPMAKE_MSGFMT
31 AC_STEPMAKE_TEXMF
32 AC_STEPMAKE_TEXMF_DIRS
33 AC_STEPMAKE_GUILE
34 AC_STEPMAKE_KPATHSEA
35 AC_STEPMAKE_BIBTEX2HTML
37 dnl should check out -print
38 dnl huh?
39 dnl AC_CHECK_SEARCH_RESULT($FIND, find, Please use --enable-tex-dir)
41 AC_FUNC_MEMCMP
42 AC_FUNC_VPRINTF
43 AC_CHECK_FUNCS(memmem snprintf vsnprintf gettext isinf)
45 AC_DEFINE_UNQUOTED(TOPLEVEL_VERSION, "${FULL_VERSION}")
46 AC_DEFINE_UNQUOTED(FLOWER_VERSION, "${FULL_FLOWER_VERSION}")
48 AC_STEPMAKE_MAKEINFO
50 AC_PATH_PROG(PERL, perl, error)
52 AC_STEPMAKE_END
54 cat <<EOF
56 Type:
57     make all       to build LilyPond
58     make install   to install LilyPond
59     make help      to see all possible targets
61 Do not worry if ./Documentation or ./mutopia should not build.
62 EOF