From 1a26b354c6eb86ccd8a676aa61a7739d7d3fe6c7 Mon Sep 17 00:00:00 2001 From: "ek.kato" Date: Wed, 24 Nov 2010 06:47:14 +0000 Subject: [PATCH] * Merge r5427 from libgcroots-trunk. --- configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 322303f..48d4861 100644 --- a/configure.ac +++ b/configure.ac @@ -376,7 +376,13 @@ AC_SUBST(CXX) AC_SUBST(INCLUDES) AC_SUBST(CXXINCLUDES) -AX_FUNC_GETCONTEXT +# Since glibc has a stub implementation of getcontext(3), AX_FUNC_GETCONTEXT +# does not work as expected on such environments. But on such environtments, +# AC_CHECK_FUNCS() can detect whether the platform has working +# getcontext(3). See [sigscheme-ja 17] by NIIBE Yutaka for further details. +# -- YamaKen 2008-04-21 +# AX_FUNC_GETCONTEXT +AC_CHECK_FUNCS([getcontext]) # Configuration of shared libraries #