From 53d5c7e55db49ea7a9af64bd753478da53754675 Mon Sep 17 00:00:00 2001 From: "cmiller@zippy.cornsilk.net" <> Date: Tue, 8 May 2007 09:18:51 -0400 Subject: [PATCH] Bug #23294: Detection of sem_xxx functions on NetBSD broken and \ DragonflyBSD misc patches Add the original intended test, since our current test for sched_yield is insufficient to copy. --- configure.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.in b/configure.in index d995fd107ad..663701890cf 100644 --- a/configure.in +++ b/configure.in @@ -801,6 +801,9 @@ AC_SEARCH_LIBS(crypt, crypt, AC_DEFINE(HAVE_CRYPT, 1, [crypt])) # For the sched_yield() function on Solaris AC_CHECK_FUNC(sched_yield, , AC_CHECK_LIB(posix4, sched_yield)) +# For the sem_*() functions on BSDish +AC_CHECK_FUNC(sem_init, , AC_CHECK_LIB(rt, sem_init)) + MYSQL_CHECK_ZLIB_WITH_COMPRESS # For large pages support