summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorunknown <kent@mysql.com/kent-amd64.(none)>2007-03-14 14:27:46 +0100
committerunknown <kent@mysql.com/kent-amd64.(none)>2007-03-14 14:27:46 +0100
commit0f7f7ff84574b49bf89d7427333bfa14523479df (patch)
treec37be650442320647d40fd68385fbd7751908075 /configure.in
parent32b370bb7f561a6623c1d0e028331250d6936b0a (diff)
downloadmariadb-git-0f7f7ff84574b49bf89d7427333bfa14523479df.tar.gz
configure.in:
Added test for sched_yield() possibly in -lposix4 on Solaris configure.in: Added test for sched_yield() possibly in -lposix4 on Solaris
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 7b31057f6d3..7e7431465a8 100644
--- a/configure.in
+++ b/configure.in
@@ -772,6 +772,9 @@ AC_CHECK_FUNC(bind, , AC_CHECK_LIB(bind, bind))
AC_CHECK_LIB(crypt, crypt)
AC_CHECK_FUNC(crypt, AC_DEFINE(HAVE_CRYPT))
+# For the sched_yield() function on Solaris
+AC_CHECK_FUNC(sched_yield, , AC_CHECK_LIB(posix4, sched_yield))
+
# For compress in zlib
case $SYSTEM_TYPE in
*netware* | *modesto*)