Author: yamakenz
Date: Sun Apr 20 08:41:11 2008
New Revision: 5427

Modified:
  libgcroots-trunk/configure.ac

Log:
* configure.ac
 - Replace AX_FUNC_GETCONTEXT with
   AC_CHECK_FUNCS([getcontext]). Thanks NIIBE Yutaka for the
   report


Modified: libgcroots-trunk/configure.ac
==============================================================================
--- libgcroots-trunk/configure.ac       (original)
+++ libgcroots-trunk/configure.ac       Sun Apr 20 08:41:11 2008
@@ -376,7 +376,13 @@
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
#

Reply via email to