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