]> git.donarmstrong.com Git - lilypond.git/commitdiff
* configure.in (--disable-documentation): New switch.
authorJan Nieuwenhuizen <janneke@gnu.org>
Mon, 28 Nov 2005 21:33:39 +0000 (21:33 +0000)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 28 Nov 2005 21:33:39 +0000 (21:33 +0000)
* GNUmakefile.in: Use it.

* stepmake/aclocal.m4: Use AC_ARG_ENABLE for kpatsea.

ChangeLog
GNUmakefile.in
config.make.in
configure.in
stepmake/aclocal.m4

index 0277a1315b7b998a8b37d3ebe154f9ac991967c1..cde4eafd5186905d68dfd6b1f5aa023a09f4ea6f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-11-28  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * configure.in (--disable-documentation): New switch.
+
+       * GNUmakefile.in: Use it.
+
+       * stepmake/aclocal.m4: Use AC_ARG_ENABLE for kpatsea.
+
 2005-11-28  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
        * scripts/lilypond-book.py (do_file): search chunks for
index 83e65c799111a2098e3806562b2447cb6142fe8e..1e90808c4b2884ff753b68538737f584ffc49d76 100644 (file)
@@ -1,25 +1,19 @@
 # -*-Makefile-*-
-# title           specific top level makefile for LilyPond  
 
-# subdir level:
-#
 depth = .
-#
 
-# descent order into subdirectories
-# 
 SUBDIRS = buildscripts python scripts \
-       elisp \
        flower kpath-guile lily \
-       mf ly tex ps scm \
+       mf ly \
+       tex ps scm \
        po make \
-       cygwin stepmake \
-       Documentation input \
-       vim 
-#
+       elisp vim \
+       input \
+       cygwin stepmake
 
-#include VERSION
-#package=`echo $PACKAGE_NAME | tr '[A-Z]' '[a-z]'`
+ifneq($(strip $(DOCUMENTATION)),no)
+SUBDIRS += Documentation
+endif
 
 SCRIPTS = configure aclocal.m4 autogen.sh lexer-gcc-3.1.sh Doxyfile
 README_FILES = ChangeLog COPYING DEDICATION ROADMAP THANKS HACKING
index c0d756fb0d847c11acbc600d27afb6dec9454d5e..1e972d9d5769ae797f1bc9930399d87fb9a680bb 100644 (file)
@@ -88,6 +88,7 @@ CROSS = @cross_compiling@
 CXX = @CXX@
 DEFINES = @DEFS@ @DEFINES@
 DEFS = @DEFS@
+DOCUMENTATION = @DOCUMENTATION@
 DOTEXE = @DOTEXE@
 FIND = @FIND@
 FLEX = @FLEX@
index beefed504c772d5763ba1fe4ce98e07d340ccba9..fa4569390876e4bb02c60df92f8496f99bbab6a2 100644 (file)
@@ -21,6 +21,11 @@ AC_CONFIG_HEADER([$CONFIGFILE.hh:config.hh.in])
 
 # Uncomment the configuration options your package needs.
 
+DOCUMENTATION=yes
+AC_ARG_ENABLE(documentation,
+    [  --enable-documentation  build Documentation.  Default: on],
+    [DOCUMENTATION=$enableval])
+AC_SUBST(DOCUMENTATION)
 
 gui_b=no
 AC_ARG_ENABLE(gui,
@@ -32,11 +37,11 @@ AC_ARG_ENABLE(relocation,
     [  --enable-relocation     compile with dynamic relocation.  Default: off],
     [reloc_b=$enableval])
 
-AC_SUBST(LINK_GXX_STATICALLY)
 LINK_GXX_STATICALLY=no
 AC_ARG_ENABLE(static-gxx,
     [  --enable-static-gxx     link libstdc++.a statically. Default: off],
     [LINK_GXX_STATICALLY=$enableval])
+AC_SUBST(LINK_GXX_STATICALLY)
 
 # must come before any header checks
 STEPMAKE_COMPILE
@@ -83,6 +88,7 @@ AC_CHECK_HEADERS([utf8/wchar.h], LIBS="$LIBS -lutf8")
 AC_SEARCH_LIBS(mbrtowc, [mingwex msvcp60])
 
 STEPMAKE_PROGS(PKG_CONFIG, pkg-config, REQUIRED, 0.9.0)
+
 if test "$gui_b" = "yes"; then
     STEPMAKE_GTK2(gtk+-2.0, REQUIRED, 2.4.0)
 fi
index 32810c53186afc0ef88b0af120c21ecd847e5bd0..e6aa2473ced1c959977a33a6685a634ba20b1ce1 100644 (file)
@@ -725,7 +725,7 @@ AC_DEFUN(STEPMAKE_INIT, [
     CONFIGSUFFIX=
     AC_ARG_ENABLE(config,
     [  --enable-config=CONF    put settings in config-CONF.make and config-CONF.h;
-                            do \`make conf=CONF' to get output in ./out-CONF],
+                            do `make conf=CONF' to get output in ./out-CONF],
     [CONFIGURATION=$enableval])
 
     ##'
@@ -810,12 +810,9 @@ AC_DEFUN(STEPMAKE_KPATHSEA, [
            ])
     
     kpathsea_b=yes
-    #FIXME --with-xxx is meant for specifying a PATH too,
-    # so this should read: --enable-kpathsea,
-    # or --with-kpathsea-include=PATH --with-kpathsea-lib=PATH
-    AC_ARG_WITH(kpathsea,
-    [  --with-kpathsea         use kpathsea lib.  Default: on],
-    [kpathsea_b=$with_kpathsea])
+    AC_ARG_ENABLE(kpathsea,
+    [  --enable-kpathsea         use kpathsea lib.  Default: on],
+    [kpathsea_b=$enableval])
 
     save_LIBS="$LIBS"
     if test "$kpathsea_b" != "no"; then