configure.in 452 B

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