]> git.donarmstrong.com Git - lilypond.git/blobdiff - configure.in
* Documentation/windows/zlily-profile.sh:
[lilypond.git] / configure.in
index 8c498a8f515599f0e628b2394d64c9aa7f03f025..6f70a28f4396e2b2aff561cf1aa251a83604b037 100644 (file)
@@ -12,30 +12,48 @@ STEPMAKE_INIT
 AC_CONFIG_SUBDIRS(stepmake)
 
 # Uncomment the configuration options your package needs.
+
+# must come before any header checks
 STEPMAKE_COMPILE
-# AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
-AC_HAVE_HEADERS(assert.h sys/stat.h)
-AC_HEADER_STAT
 
+STEPMAKE_GCC(REQUIRED, 2.8)
 STEPMAKE_CXX(REQUIRED)
-STEPMAKE_GXX(REQUIRED)
+STEPMAKE_GXX(REQUIRED, 2.95)
 STEPMAKE_CXXTEMPLATE
+STEPMAKE_LIB(REQUIRED)
 STEPMAKE_BISON(REQUIRED, 1.25)
 STEPMAKE_FLEX(REQUIRED)
-STEPMAKE_LIB(REQUIRED)
+STEPMAKE_FLEXLEXER(REQUIRED)
 STEPMAKE_LOCALE
 STEPMAKE_GETTEXT
 STEPMAKE_MSGFMT(REQUIRED)
 STEPMAKE_TEXMF
 STEPMAKE_TEXMF_DIRS
-STEPMAKE_GUILE(OPTIONAL)
 STEPMAKE_GUILE_DEVEL(REQUIRED, 1.3.4)
 STEPMAKE_KPATHSEA
 STEPMAKE_MAKEINFO(REQUIRED)
 STEPMAKE_PYTHON_DEVEL(REQUIRED)
 
-##need perl for help2man.
+
+# AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
+AC_HAVE_HEADERS(assert.h sys/stat.h)
+AC_HEADER_STAT
+
+AC_FUNC_MEMCMP
+AC_FUNC_VPRINTF
+AC_CHECK_FUNCS(memmem snprintf vsnprintf gettext isinf)
+
+
+## Optional tools for building documentation, website, extra fonts.
+
+# guile executable for some scripts
+STEPMAKE_GUILE(OPTIONAL)
+# perl for help2man.
 STEPMAKE_PERL(OPTIONAL)
+# pktrace for generating pfa's, pfb's
+STEPMAKE_PROGS(PKTRACE, pktrace, OPTIONAL, 1.0.3)
+# new makeinfo for multi-page website docs
+STEPMAKE_PROGS(MAKEINFO, makeinfo, OPTIONAL, 4.1)
 
 
 if test "$optimise_b" = yes; then
@@ -44,15 +62,13 @@ if test "$optimise_b" = yes; then
 fi
 
 
-AC_FUNC_MEMCMP
-AC_FUNC_VPRINTF
-AC_CHECK_FUNCS(memmem snprintf vsnprintf gettext isinf)
-
 AC_DEFINE_UNQUOTED(TOPLEVEL_VERSION, "${FULL_VERSION}")
 AC_DEFINE_UNQUOTED(FLOWER_VERSION, "${FULL_FLOWER_VERSION}")
 
+# Gather requirements and generate output.
 STEPMAKE_END
 
+
 test -n "$CONFIGURATION" && mc=" conf=$CONFIGURATION" || mc=""
 
 cat <<EOF