Index: configure.ac
===================================================================
RCS file: /cvsroot/gstreamer/gstreamer/configure.ac,v
retrieving revision 1.205.2.2.2.6
diff -u -r1.205.2.2.2.6 configure.ac
--- configure.ac	29 Jan 2003 01:06:05 -0000	1.205.2.2.2.6
+++ configure.ac	31 Jan 2003 01:29:21 -0000
@@ -129,9 +129,18 @@
 dnl check for makecontext and define HAVE_MAKECONTEXT if we have it
 AC_CHECK_MCSC()
 if test "$ac_cv_check_mcsc" == "yes"; then
-  AC_DEFINE_UNQUOTED(HAVE_MAKECONTEXT, $HAVE_MAKECONTEXT,
-                     [defined if we have makecontext ()])
+  dnl Due to some instances of makecontext() causing segfaults, esp with 
+  dnl NPTL on RedHat 8.1 Beta, we are disabling makecontext on i386 atm
+  if test "x$HAVE_CPU_I386" == "xyes"; then
+    HAVE_MAKECONTEXT=false
+  fi
+
+  if test "x$HAVE_MAKECONTEXT" != "xfalse"; then
+    AC_DEFINE_UNQUOTED(HAVE_MAKECONTEXT, $HAVE_MAKECONTEXT,
+                       [defined if we have makecontext ()])
+  fi
 fi
+  
 
 dnl Check for a way to display the function name in debug output
 GST_CHECK_FUNCTION()
