Hi Julian, "Julian Graham" <[EMAIL PROTECTED]> writes:
> Ah, yes -- I remember those from five years ago, the first time I > tried to add thread cancellation support to Guile. Find attached a > patch that raises an error if `(srfi srfi-18)' is loaded when Guile > has been built using --without-threads. There seems to be something wrong with your path: > diff --git a/srfi/srfi-18.scm b/srfi/srfi-18.scm > index 6359cb2..0593f4e 100644 > --- a/srfi/srfi-18.scm > +++ b/srfi/srfi-18.scm > @@ -89,9 +89,6 @@ > make-condition-variable > raise)) > > -(if (not (provided? 'threads)) > - (error "SRFI-18 requires Guile built with threads support")) > - It removes the `if' statement instead of adding it. Furthermore, I think `srfi-18.test' needs to be modified so that, when threads aren't available, it does not "(use-modules (srfi srfi-18))" so that we don't get the error. Can you fix that? Thanks in advance! Ludo'.