lilypond-1.1.43
[lilypond.git] / configure.in
blob43abc3439be33918f9f4e4c23e114e1acc9c0461
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])
22     
23 if test "$optimise_b" = yes; then
24     DEFINES="$DEFINES -DSTRING_UTILS_INLINED"
25     AC_DEFINE(STRINGS_UTILS_INLINED)
28 AC_STEPMAKE_CXX
29 AC_STEPMAKE_GXX
30 AC_STEPMAKE_CXXTEMPLATE
31 AC_STEPMAKE_LEXYACC
32 AC_STEPMAKE_LIB
33 # AC_STEPMAKE_LIBTOOL
34 AC_STEPMAKE_LOCALE
35 AC_STEPMAKE_GETTEXT
36 AC_STEPMAKE_MSGFMT
37 AC_STEPMAKE_TEXMF
38 # AC_STEPMAKE_TEXMF_DIRS
39 AC_STEPMAKE_YODL
40 AC_STEPMAKE_GUILE
42 dnl should check out -print
43 dnl huh?
44 dnl AC_CHECK_SEARCH_RESULT($FIND, find, Please use --enable-tex-dir)
46 AC_FUNC_MEMCMP
47 AC_FUNC_VPRINTF
48 AC_CHECK_FUNCS(memmem snprintf vsnprintf gettext)
50 AC_DEFINE_UNQUOTED(TOPLEVEL_VERSION, "${FULL_VERSION}")
51 AC_DEFINE_UNQUOTED(FLOWER_VERSION, "${FULL_FLOWER_VERSION}")
53 AC_CHECK_PROGS(MAKEINFO, makeinfo, error)
54 AC_CHECK_SEARCH_RESULT($YODL2TEXINFO, yodl,  
55     You should install Yodl 1.30.2 or newer)
58 AC_MSG_CHECKING(Checking TFM directory)
59 CMR10=`kpsewhich tfm cmr10.tfm`
60 TEX_TFMDIR=`dirname $CMR10`
61 AC_MSG_RESULT($TEX_TFMDIR)
63 AC_SUBST(TEX_TFMDIR)
64 AC_STEPMAKE_END