1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-09 13:30:26 +02:00

* configure.in: Look for sched_yield in -lrt; this is needed for

Solaris.  Thanks to Matthias Koeppe!
(setgroups): Check for it.
This commit is contained in:
Marius Vollmer 2003-07-27 16:17:35 +00:00
parent fcfdbb80e0
commit d707b9df30

View file

@ -591,7 +591,7 @@ if test -n "$have_sys_un_h" ; then
[Define if the system supports Unix-domain (file-domain) sockets.])
fi
AC_CHECK_FUNCS(socketpair getgroups setpwent pause tzset)
AC_CHECK_FUNCS(socketpair getgroups setgroups setpwent pause tzset)
AC_CHECK_FUNCS(sethostent gethostent endhostent dnl
setnetent getnetent endnetent dnl
@ -912,6 +912,10 @@ case "$with_threads" in
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