Commit | Line | Data |
---|---|---|
0359fc92 MD |
1 | ### BEGIN compatibility checks ### |
2 | ||
3 | AC_CHECK_FUNCS(scm_c_define_module scm_c_read_string scm_gc_protect_object scm_list_1) | |
4 | ||
5 | AC_MSG_CHECKING(for scm_t_bits) | |
6 | AC_CACHE_VAL(ac_cv_have_scm_t_bits, | |
7 | [AC_TRY_COMPILE([#include <libguile.h>], | |
8 | [scm_t_bits a;], | |
9 | ac_cv_have_scm_t_bits=yes, ac_cv_have_scm_t_bits=no)]) | |
10 | AC_MSG_RESULT($ac_cv_have_scm_t_bits) | |
11 | if test $ac_cv_have_scm_t_bits = yes; then | |
12 | AC_DEFINE(HAVE_SCM_T_BITS) | |
13 | fi | |
14 | ||
15 | ### END compatibility checks ### |