1
1

Solaris needs -lrt for sched_yield()

This commit was SVN r5072.
Этот коммит содержится в:
Jeff Squyres 2005-03-28 20:52:00 +00:00
родитель 79f631b88a
Коммит 96a13fd818

Просмотреть файл

@ -1023,7 +1023,6 @@ ompi_show_title "Library and Function tests"
# atoll
# strtoll
# yield
# sched_yield
# vscanf
AC_CHECK_FUNCS([asprintf snprintf vasprintf vsnprintf])
@ -1044,6 +1043,16 @@ AC_DEFINE_UNQUOTED(OMPI_HAVE_UNDERSCORE_VA_COPY, $OMPI_HAVE_UNDERSCORE_VA_COPY,
AC_CHECK_DECLS(__func__)
#
# Solaris has sched_yield in -lrt
#
AC_CHECK_LIB([rt], [sched_yield])
#
# See if we need the math library explicitly linked in
#
AC_CHECK_LIB([m], [ceil])