LEFT | RIGHT |
(no file at all) | |
1 dnl configure.in -*-shell-script-*- | 1 dnl configure.in -*-shell-script-*- |
2 dnl Process this file with autoconf to produce a configure script. | 2 dnl Process this file with autoconf to produce a configure script. |
3 | 3 |
4 AC_PREREQ(2.60) | 4 AC_PREREQ(2.60) |
5 | 5 |
6 # Bootstrap the init proces. | 6 # Bootstrap the init proces. |
7 AC_INIT | 7 AC_INIT |
8 | 8 |
9 # Bootstrap StepMake configure | 9 # Bootstrap StepMake configure |
10 # For user package: | 10 # For user package: |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 save_CXXFLAGS="$CXXFLAGS" | 116 save_CXXFLAGS="$CXXFLAGS" |
117 CXXFLAGS="$GUILE_CFLAGS $CXXFLAGS" | 117 CXXFLAGS="$GUILE_CFLAGS $CXXFLAGS" |
118 AC_CHECK_TYPES([scm_t_hash_fold_fn, scm_t_hash_handle_fn], | 118 AC_CHECK_TYPES([scm_t_hash_fold_fn, scm_t_hash_handle_fn], |
119 [AC_DEFINE(HAVE_GUILE_HASH_FUNC)], [], | 119 [AC_DEFINE(HAVE_GUILE_HASH_FUNC)], [], |
120 [#include <libguile.h>]) | 120 [#include <libguile.h>]) |
121 AC_CHECK_TYPES([scm_t_subr], | 121 AC_CHECK_TYPES([scm_t_subr], |
122 [AC_DEFINE(HAVE_GUILE_SUBR_TYPE)], [], | 122 [AC_DEFINE(HAVE_GUILE_SUBR_TYPE)], [], |
123 [#include <libguile.h>]) | 123 [#include <libguile.h>]) |
124 CXXFLAGS="$save_CXXFLAGS" | 124 CXXFLAGS="$save_CXXFLAGS" |
125 | 125 |
| 126 ## Check for usable cxxabi |
| 127 AC_MSG_CHECKING(for usable C++ demangler) |
| 128 AC_LINK_IFELSE([#include <cxxabi.h> |
| 129 int main(){ |
| 130 size_t sz; |
| 131 int status; |
| 132 char *ptr = abi::__cxa_demangle ("", 0, &sz, &status); |
| 133 return 0; |
| 134 }], [AC_DEFINE(HAVE_CXA_DEMANGLE) |
| 135 AC_MSG_RESULT(yes)], |
| 136 [AC_MSG_RESULT([no, use c++filt -t for manual demangling])]) |
| 137 |
126 ## check rational bugfix. | 138 ## check rational bugfix. |
127 save_CPPFLAGS="$CPPFLAGS" | 139 save_CPPFLAGS="$CPPFLAGS" |
128 CPPFLAGS="$GUILE_CFLAGS $CPPFLAGS" | 140 CPPFLAGS="$GUILE_CFLAGS $CPPFLAGS" |
129 AC_MSG_CHECKING(GUILE rational bugfix) | 141 AC_MSG_CHECKING(GUILE rational bugfix) |
130 AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include <libguile.h> | 142 AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include <libguile.h> |
131 #ifdef SCM_FRACTION_REDUCED_BIT | 143 #ifdef SCM_FRACTION_REDUCED_BIT |
132 #error | 144 #error |
133 #endif | 145 #endif |
134 ]])],[AC_MSG_RESULT(ok)],[REQUIRED="$REQUIRED GUILE-with-rational-bugfix" | 146 ]])],[AC_MSG_RESULT(ok)],[REQUIRED="$REQUIRED GUILE-with-rational-bugfix" |
135 AC_MSG_RESULT(Must have patched GUILE rational support. See INSTALL.txt)]) | 147 AC_MSG_RESULT(Must have patched GUILE rational support. See INSTALL.txt)]) |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 | 231 |
220 Type: | 232 Type: |
221 make$mc all to build LilyPond | 233 make$mc all to build LilyPond |
222 make$mc install to install LilyPond | 234 make$mc install to install LilyPond |
223 make$mc help to see all possible targets | 235 make$mc help to see all possible targets |
224 | 236 |
225 Edit local.make for local Makefile overrides. | 237 Edit local.make for local Makefile overrides. |
226 | 238 |
227 | 239 |
228 EOF | 240 EOF |
LEFT | RIGHT |