summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorunknown <cmiller@zippy.cornsilk.net>2007-05-08 18:19:36 -0400
committerunknown <cmiller@zippy.cornsilk.net>2007-05-08 18:19:36 -0400
commit6f742c9053d793065de05b0394ebb6f1f0f58d55 (patch)
tree442b7137ce7f526b893e78ab69346f2ba173f6f0 /configure.in
parent2013f17e77eba6ee1f319fa51afe4aaa28a0aa20 (diff)
downloadmariadb-git-6f742c9053d793065de05b0394ebb6f1f0f58d55.tar.gz
Bug #23294: Detection of sem_xxx functions on NetBSD broken and \
DragonflyBSD misc patches The bug reporter anticipated a problem, instead of experiencing one. IRC conversation: <xtraeme> sem_init is defined in librt on NetBSD solaris uses libposix4 iirc that's why I sent a patch <chadmiller> xtraeme: Agreed. But, AFAICT, mysql doesn't use sem_init() anywhere. Thus my confusion. <xtraeme> I didn't verify that, but I saw that sem_init wasn't detected correctly... why are you checking for sem_init if it's unused then? :-) <chadmiller> xtraeme: In recent autoconf scripts, we change it to test for sched_yield() . <xtraeme> that's ok then sched_yield is in libc feel free to close the bug report then :-) configure.in: Remove useless test for sem_init() .
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 0 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 663701890cf..d995fd107ad 100644
--- a/configure.in
+++ b/configure.in
@@ -801,9 +801,6 @@ 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