Skip to content

Commit 1a26b35

Browse files
author
ek.kato
committed
* Merge r5427 from libgcroots-trunk.
1 parent 8c31bbb commit 1a26b35

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

configure.ac

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,13 @@ AC_SUBST(CXX)
376376
AC_SUBST(INCLUDES)
377377
AC_SUBST(CXXINCLUDES)
378378

379-
AX_FUNC_GETCONTEXT
379+
# Since glibc has a stub implementation of getcontext(3), AX_FUNC_GETCONTEXT
380+
# does not work as expected on such environments. But on such environtments,
381+
# AC_CHECK_FUNCS() can detect whether the platform has working
382+
# getcontext(3). See [sigscheme-ja 17] by NIIBE Yutaka for further details.
383+
# -- YamaKen 2008-04-21
384+
# AX_FUNC_GETCONTEXT
385+
AC_CHECK_FUNCS([getcontext])
380386

381387
# Configuration of shared libraries
382388
#

0 commit comments

Comments
 (0)