We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c31bbb commit 1a26b35Copy full SHA for 1a26b35
1 file changed
configure.ac
@@ -376,7 +376,13 @@ AC_SUBST(CXX)
376
AC_SUBST(INCLUDES)
377
AC_SUBST(CXXINCLUDES)
378
379
-AX_FUNC_GETCONTEXT
+# 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])
386
387
# Configuration of shared libraries
388
#
0 commit comments