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
11 # For all packages except the StepMake package itself
12 AC_CONFIG_SUBDIRS(stepmake)
14 # Uncomment the configuration options your package needs.
16 # AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
17 AC_HAVE_HEADERS(assert.h)
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
32 DEFINES="$DEFINES -DNPRINT"
37 AC_STEPMAKE_CXXTEMPLATE
45 AC_STEPMAKE_TEXMF_DIRS
49 dnl should check out -print
51 dnl AC_CHECK_SEARCH_RESULT($FIND, find, Please use --enable-tex-dir)
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)