[Top][All Lists]

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

[Patch] Find library of sched_yield

From: Matthias Koeppe
Subject: [Patch] Find library of sched_yield
Date: Wed, 18 Jun 2003 12:27:05 +0200

On Solaris, when compiling Guile from CVS HEAD with
--with-threads=yes, Guile cannot be linked because the symbol
`sched_yield' is unresolved.

The following patch arranges that at configure time, the library is
searched that is needed to define `sched_yield'.

---       Mon Jun 16 16:49:24 2003
+++        Wed Jun 18 11:34:51 2003
@@ -906,6 +907,10 @@
       AC_DEFINE_UNQUOTED(SCM_MUTEX_RECURSIVE, $guile_cv_have_mutex_recursive,
         [The mutex kind enum for recursive mutexes.])
+    # On Solaris, sched_yield lives in -lrt.
+    AC_SEARCH_LIBS(sched_yield, rt)
Matthias Koeppe --

reply via email to

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