[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Patch] configure.in: Find library of sched_yield
From: |
Matthias Koeppe |
Subject: |
[Patch] configure.in: 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'.
--- configure.in.~1.220.~ Mon Jun 16 16:49:24 2003
+++ configure.in 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.])
fi
+
+ # On Solaris, sched_yield lives in -lrt.
+ AC_SEARCH_LIBS(sched_yield, rt)
+
;;
esac
--
Matthias Koeppe -- http://www.math.uni-magdeburg.de/~mkoeppe
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Patch] configure.in: Find library of sched_yield,
Matthias Koeppe <=