mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-28 16:00:22 +02:00
configure: Look for `GC_do_blocking ()' and its declaration.
* configure.in: Look for `GC_do_blocking ()' and its declaration.
This commit is contained in:
parent
2a5bf2eeec
commit
9625c900e4
1 changed files with 8 additions and 0 deletions
|
@ -1188,6 +1188,14 @@ AC_CHECK_LIB([gc], [GC_collect_a_little],
|
|||
AC_CHECK_HEADER([gc/gc.h], [],
|
||||
[AC_MSG_ERROR([`libgc' (Boehm's GC library) header files not found.])])
|
||||
|
||||
# `GC_do_blocking ()' is available in GC 7.1 but not declared.
|
||||
AC_CHECK_FUNCS([GC_do_blocking])
|
||||
AC_CHECK_DECL([GC_do_blocking],
|
||||
[AC_DEFINE([HAVE_DECL_GC_DO_BLOCKING], [1],
|
||||
[Define this if the `GC_do_blocking ()' function is declared])],
|
||||
[],
|
||||
[#include <gc/gc.h>])
|
||||
|
||||
|
||||
AC_CHECK_SIZEOF(float)
|
||||
if test "$ac_cv_sizeof_float" -le "$ac_cv_sizeof_long"; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue