diff options
| author | Alvaro Herrera | 2015-06-30 17:20:38 +0000 |
|---|---|---|
| committer | Alvaro Herrera | 2015-06-30 17:20:38 +0000 |
| commit | ef704ec069fd97c41d91640558f70d37a04b6bd1 (patch) | |
| tree | 06261d9884bfe4289808b9af76c965ab4b41086f /configure.in | |
| parent | 7dc721889b31450cad338a189a97ff0ff46534d5 (diff) | |
Test -lrt for sched_yield
Apparently, this is needed in some Solaris versions.
Author: Oskari Saarenmaa
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in index d4c6ff11451..03ca2ccbca5 100644 --- a/configure.in +++ b/configure.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) |
