X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=config.hh.in;h=96ede6ebae7c71b378f322af4602b17a3f7db688;hb=1627b4aa769bc3290e58d876112746ea62a5cb54;hp=833c0eec00263f59c307176068da3c0a3ad76042;hpb=b19e74ad9d038a08a79ce3c6b1a2e1f5fe6980da;p=lilypond.git diff --git a/config.hh.in b/config.hh.in index 833c0eec00..96ede6ebae 100644 --- a/config.hh.in +++ b/config.hh.in @@ -1,13 +1,22 @@ -/* @configure_input@ */ +/* @AUTOGENERATE@ */ -/* Hmm */ #define PACKAGE "@package@" -/* default lilypond init and input dir */ -#define DIR_DATADIR "@DIR_DATADIR@" +#define TOPLEVEL_VERSION "@TOPLEVEL_VERSION@" + +/* datadir */ +#define DATADIR "@DATADIR@" + +/* LilyPond init and input base directory */ +#define PACKAGE_DATADIR DATADIR "/" PACKAGE +#define LILYPOND_DATADIR PACKAGE_DATADIR + +/* LilyPond specific init and input directory */ +#define LOCAL_PACKAGE_DATADIR PACKAGE_DATADIR "/" TOPLEVEL_VERSION +#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 @@ -18,12 +27,33 @@ /* define if you have vsnprintf */ #define HAVE_VSNPRINTF 0 +/* define if you have yyFlexLexer.yy_current_buffer */ +#undef HAVE_FLEXLEXER_YY_CURRENT_BUFFER + /* define if you have gettext */ #define HAVE_GETTEXT 0 /* define if you have isinf */ #define HAVE_ISINF 0 +/* define if you have lrint */ +#define HAVE_LRINT 0 + +/* define if you want KPATHSEA */ +#define KPATHSEA @KPATHSEA@ + +/* define if you have kpatsea header */ +#define HAVE_KPATHSEA_KPATHSEA_H 0 + +/* define if you have kpse_find_file */ +#define HAVE_KPSE_FIND_FILE 0 + +/* define if you have kpse_find_tfm */ +#define HAVE_KPSE_FIND_TFM 0 + +/* define if you have Python.h header */ +#define HAVE_PYTHON_H 0 + /* define if explicit instantiation is needed */ #undef NEED_EXPLICIT_INSTANTIATION @@ -31,5 +61,33 @@ #define DIRSEP '@DIRSEP@' #define PATHSEP '@PATHSEP@' -/* define GUILE-ification */ -#undef HAVE_LIBGUILE +/* define if you have assert */ +#define HAVE_ASSERT_H 0 + +/* define if you have sys/stat.h */ +#define HAVE_SYS_STAT_H 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 + +#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