From: Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
Subject: [Patch] configure.in: Find library of sched_yield
Date: Wed, 18 Jun 2003 12:27:05 +0200 [thread overview]
Message-ID: <uw51xxry93a.fsf@saturn.math.uni-magdeburg.de> (raw)
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
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
next reply other threads:[~2003-06-18 10:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-18 10:27 Matthias Koeppe [this message]
2003-07-27 14:19 ` [Patch] configure.in: Find library of sched_yield Marius Vollmer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uw51xxry93a.fsf@saturn.math.uni-magdeburg.de \
--to=mkoeppe@mail.math.uni-magdeburg.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).