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)
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
31 DEFINES="$DEFINES -DNPRINT"
36 AC_STEPMAKE_CXXTEMPLATE
44 AC_STEPMAKE_TEXMF_DIRS
47 dnl should check out -print
49 dnl AC_CHECK_SEARCH_RESULT($FIND, find, Please use --enable-tex-dir)
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)