From 9625c900e4a21e54f92cfabf05003b1706329c3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 18 Sep 2008 22:49:59 +0200 Subject: [PATCH] configure: Look for `GC_do_blocking ()' and its declaration. * configure.in: Look for `GC_do_blocking ()' and its declaration. --- configure.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure.in b/configure.in index 817a1e5b5..003493150 100644 --- a/configure.in +++ b/configure.in @@ -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 ]) + AC_CHECK_SIZEOF(float) if test "$ac_cv_sizeof_float" -le "$ac_cv_sizeof_long"; then