mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Test -lrt for sched_yield
Apparently, this is needed in some Solaris versions. Author: Oskari Saarenmaa
This commit is contained in:
@ -929,6 +929,8 @@ AC_SEARCH_LIBS(shm_open, rt)
|
||||
AC_SEARCH_LIBS(shm_unlink, rt)
|
||||
# Solaris:
|
||||
AC_SEARCH_LIBS(fdatasync, [rt posix4])
|
||||
# Required for thread_test.c on Solaris
|
||||
AC_SEARCH_LIBS(sched_yield, rt)
|
||||
# Required for thread_test.c on Solaris 2.5:
|
||||
# Other ports use it too (HP-UX) so test unconditionally
|
||||
AC_SEARCH_LIBS(gethostbyname_r, nsl)
|
||||
|
Reference in New Issue
Block a user