diff options
author | Alvaro Herrera | 2015-06-30 17:20:38 +0000 |
---|---|---|
committer | Alvaro Herrera | 2015-06-30 17:20:38 +0000 |
commit | ab93f90cd3a4fcdd891cee9478941c3cc65795b8 (patch) | |
tree | a41ed197c7949b028719c194633c028817298710 /configure.in | |
parent | 131926a52da0fbd77678cbd887914c83b48faa2d (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 5ef6eda06f6..21ba3a52f9f 100644 --- a/configure.in +++ b/configure.in @@ -974,6 +974,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) |