<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -368,6 +368,10 @@ AC_ARG_WITH(libc_r,
 	*)   with_libc_r=no;;
 	esac], [with_libc_r=no])
 
+AC_ARG_ENABLE(ucontext,
+       [  --disable-ucontext      do not use getcontext()/setcontext().],
+       [disable_ucontext=yes], [disable_ucontext=no])
+
 AC_ARG_ENABLE(pthread,
        [  --enable-pthread        use pthread library.],
        [enable_pthread=$enableval], [enable_pthread=no])
@@ -1038,7 +1042,8 @@ if test x&quot;$enable_pthread&quot; = xyes; then
        fi
     fi
 fi
-if test x&quot;$ac_cv_header_ucontext_h&quot; = xyes; then
+
+if test x&quot;$ac_cv_header_ucontext_h&quot; = xyes &amp;&amp; test x&quot;$disable_ucontext&quot; = xno; then
     if test x&quot;$rb_with_pthread&quot; = xyes; then
 	AC_CHECK_FUNCS(getcontext setcontext)
     fi</diff>
      <filename>configure.in</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>039eaea42b63e1a1ed2e972a5baacb60d5b4a9d3</id>
    </parent>
  </parents>
  <author>
    <name>Joe Damato</name>
    <email>ice799@gmail.com</email>
  </author>
  <url>http://github.com/ice799/matzruby/commit/0b9b69f9653782a33aee2b8937d405eae245b60c</url>
  <id>0b9b69f9653782a33aee2b8937d405eae245b60c</id>
  <committed-date>2009-05-04T23:51:55-07:00</committed-date>
  <authored-date>2009-05-04T23:51:55-07:00</authored-date>
  <message>fix pthread configure bug</message>
  <tree>13470634dc60a99834c32e033b5e60c34fef10d5</tree>
  <committer>
    <name>Joe Damato</name>
    <email>ice799@gmail.com</email>
  </committer>
</commit>
