]> git.donarmstrong.com Git - lilypond.git/blobdiff - configure.in
(spanner::find_rods): Fix >=0
[lilypond.git] / configure.in
index a4910f113011e8454a631feb56679b75cb2239e0..e9047ff59c52b96d96baf79231a2baef2df0b7f1 100644 (file)
@@ -30,9 +30,28 @@ AC_SUBST(DOCUMENTATION)
 
 gui_b=no
 AC_ARG_ENABLE(gui,
-    [  --enable-gui            compile with experimental GNOME output module.  Default: off],
+    [  --enable-gui            compile with experimental GNOME output.  Default: off],
     [gui_b=$enableval])
 
+std_string=yes
+AC_ARG_ENABLE(std-string,
+    [  --enable-std-string     compile with std::string.  Default: on],
+    [std_string=$enableval])
+if test "$std_string" = "yes"; then
+    # Store in config.make rather than in config.hh and have every
+    # source file depend on that.
+    DEFINES="$DEFINES -DSTD_STRING=1"
+fi
+
+std_vector=no
+AC_ARG_ENABLE(std-string,
+    [  --enable-std-vector     compile with experimental std::vector.  Default: off],
+    [std_vector=$enableval])
+if test "$std_vector" = "yes"; then
+    # Store in config.make rather than in config.hh and have every
+    # source file depend on that.
+    DEFINES="$DEFINES -DSTD_VECTOR=1"
+fi
 
 NCSB_DIR=unknown
 AC_ARG_WITH(ncsb-dir,