summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorcmiller@zippy.cornsilk.net <>2007-05-08 09:18:51 -0400
committercmiller@zippy.cornsilk.net <>2007-05-08 09:18:51 -0400
commit53d5c7e55db49ea7a9af64bd753478da53754675 (patch)
treef35dc2c6813e52615cc582d502dfe406e50e70c4 /configure.in
parent3d256e5b752622435dd13cdb742e852ca1175410 (diff)
downloadmariadb-git-53d5c7e55db49ea7a9af64bd753478da53754675.tar.gz
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.
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 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