mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 20:00:19 +02:00
15 lines
452 B
Text
15 lines
452 B
Text
### BEGIN compatibility checks ###
|
|
|
|
AC_CHECK_FUNCS(scm_c_define_module scm_c_read_string scm_gc_protect_object scm_list_1)
|
|
|
|
AC_MSG_CHECKING(for scm_t_bits)
|
|
AC_CACHE_VAL(ac_cv_have_scm_t_bits,
|
|
[AC_TRY_COMPILE([#include <libguile.h>],
|
|
[scm_t_bits a;],
|
|
ac_cv_have_scm_t_bits=yes, ac_cv_have_scm_t_bits=no)])
|
|
AC_MSG_RESULT($ac_cv_have_scm_t_bits)
|
|
if test $ac_cv_have_scm_t_bits = yes; then
|
|
AC_DEFINE(HAVE_SCM_T_BITS)
|
|
fi
|
|
|
|
### END compatibility checks ###
|