]> git.donarmstrong.com Git - lilypond.git/blobdiff - config.hh.in
2002-08-01 Rune Zedeler <rune@zedeler.dk>
[lilypond.git] / config.hh.in
index fd68a01406c611406c519b9967b4e2840a6b14e1..5da27000ada59f093a2fb4b021f2555e8b94d35a 100644 (file)
@@ -1,18 +1,20 @@
 /* @AUTOGENERATE@ */
 
-/* Hmm */
 #define PACKAGE "@package@"
 
-/* define if bla bla /var and the like. */
-#define DIR_SHAREDSTATEDIR "@DIR_SHAREDSTATEDIR@"
+/* datadir */
+#define DATADIR "@DATADIR@"
 
-#define DIR_DATADIR "@DIR_DATADIR@"
+/* LilyPond init and input base directory */
+#define PACKAGE_DATADIR "@PACKAGE_DATADIR@"
+#define LILYPOND_DATADIR PACKAGE_DATADIR
 
-/* default lilypond init and input dir */
-#define  DIR_DATADIR "@DIR_DATADIR@"
+/* LilyPond specific init and input directory */
+#define LOCAL_PACKAGE_DATADIR "@LOCAL_PACKAGE_DATADIR@"
+#define LOCAL_LILYPOND_DATADIR LOCAL_PACKAGE_DATADIR
 
 /* default lilypond locale dir */
-#define  DIR_LOCALEDIR "@DIR_LOCALEDIR@"
+#define LOCALEDIR "@LOCALEDIR@"
 
 /* define if you have memmem */
 #define HAVE_MEMMEM 0
 /* define if you have sys/stat.h */
 #define STAT_MACROS_BROKEN 0
 
+/* define if you have sstream */
+#define HAVE_SSTREAM 0
+
+/* GUILE only includes version in headers (libguile/version.h) as of
+   1.5.x.  For some strange reason, they call it SCM.*VERSION. */
+#include <libguile.h>
+
+#ifndef GUILE_MAJOR_VERSION
+#ifdef SCM_MAJOR_VERSION
+#define GUILE_MAJOR_VERSION SCM_MAJOR_VERSION
+#define GUILE_MINOR_VERSION SCM_MINOR_VERSION
+#define GUILE_PATCH_LEVEL SCM_MICRO_VERSION
+#else
 /* define GUILE major version */
 #define GUILE_MAJOR_VERSION 0
-
 /* define GUILE minor version */
 #define GUILE_MINOR_VERSION 0
+/* define GUILE patch level */
+#define GUILE_PATCH_LEVEL 0
+#endif
+#endif