guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

disabling linuxthreads workaround


From: Chris Cramer
Subject: disabling linuxthreads workaround
Date: Mon, 23 Jul 2001 09:47:17 -0500
User-agent: Mutt/1.2.5i

I have had some problems with threads lately... uh, coop threads using
pthread_create?  I just do not understand. It doesn't help that neither
pthread_join or pthread_detach are ever called.

Anyway, I personally have no need to use Guile with pthreads at the
moment, I so I did this patch (for the stable branch).

Index: configure.in
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/configure.in,v
retrieving revision 1.157.2.3
diff -u -r1.157.2.3 configure.in
--- configure.in        2001/07/22 18:35:10     1.157.2.3
+++ configure.in        2001/07/23 14:29:00
@@ -558,8 +558,12 @@
     AC_DEFINE(GUILE_ISELECT, 1)
   fi
 
+  AC_ARG_ENABLE(linuxthreads,
+  [  --disable-linuxthreads  disable linuxthreads workaround],,
+  enable_linuxthreads=yes)
+
   ## Workaround for linuxthreads (currently disabled)
-  if test $host_os = linux-gnu; then
+  if test $host_os = linux-gnu -a "$enable_linuxthreads" = yes; then
     AC_DEFINE(GUILE_PTHREAD_COMPAT, 1)
     AC_CHECK_LIB(pthread, main)
   fi

-- 
C. Ray C. aka Christopher Cramer
address@hidden
http://www.pyro.net/~crayc/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]