lilypond-1.3.78
[lilypond.git] / configure.in
blobf19b156e364cd12323e6e48500fa3824e86937e2
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)
19 printing_b=no
20 AC_ARG_ENABLE(printing,
21     [  enable-printing         turn on debug printing. Default: off],
22     [printing_b=$enableval])
24 if test "$optimise_b" = yes; then
25     DEFINES="$DEFINES -DSTRING_UTILS_INLINED"
26     AC_DEFINE(STRINGS_UTILS_INLINED)
29 if test "$printing_b" = no; then
30     # ugh
31     AC_DEFINE(NPRINT)
32     DEFINES="$DEFINES -DNPRINT"
35 AC_STEPMAKE_CXX
36 AC_STEPMAKE_GXX
37 AC_STEPMAKE_CXXTEMPLATE
38 AC_STEPMAKE_LEXYACC
39 AC_STEPMAKE_LIB
40 # AC_STEPMAKE_LIBTOOL
41 AC_STEPMAKE_LOCALE
42 AC_STEPMAKE_GETTEXT
43 AC_STEPMAKE_MSGFMT
44 AC_STEPMAKE_TEXMF
45 AC_STEPMAKE_TEXMF_DIRS
46 AC_STEPMAKE_GUILE
47 AC_STEPMAKE_KPATHSEA
49 dnl should check out -print
50 dnl huh?
51 dnl AC_CHECK_SEARCH_RESULT($FIND, find, Please use --enable-tex-dir)
53 AC_FUNC_MEMCMP
54 AC_FUNC_VPRINTF
55 AC_CHECK_FUNCS(memmem snprintf vsnprintf gettext isinf)
57 AC_DEFINE_UNQUOTED(TOPLEVEL_VERSION, "${FULL_VERSION}")
58 AC_DEFINE_UNQUOTED(FLOWER_VERSION, "${FULL_FLOWER_VERSION}")
60 AC_CHECK_PROGS(MAKEINFO, makeinfo, error)
61 AC_PATH_PROG(PERL, perl, error)
63 AC_STEPMAKE_END