From: Date: May 9 2007 12:19am Subject: bk commit into 5.0 tree (cmiller:1.2478) BUG#23294 List-Archive: http://lists.mysql.com/commits/26337 X-Bug: 23294 Message-Id: <20070508221941.C74A083051@zippy> Below is the list of changes that have just been committed into a local 5.0 repository of cmiller. When cmiller does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository. For information on how to access the public repository see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html ChangeSet@stripped, 2007-05-08 18:19:36-04:00, cmiller@stripped +1 -0 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: sem_init is defined in librt on NetBSD solaris uses libposix4 iirc that's why I sent a patch xtraeme: Agreed. But, AFAICT, mysql doesn't use sem_init() anywhere. Thus my confusion. 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? :-) xtraeme: In recent autoconf scripts, we change it to test for sched_yield() . that's ok then sched_yield is in libc feel free to close the bug report then :-) configure.in@stripped, 2007-05-08 18:19:34-04:00, cmiller@stripped +0 -3 Remove useless test for sem_init() . # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: cmiller # Host: zippy.cornsilk.net # Root: /home/cmiller/work/mysql/mysql-5.0-maint --- 1.443/configure.in 2007-05-08 09:18:49 -04:00 +++ 1.444/configure.in 2007-05-08 18:19:34 -04:00 @@ -801,9 +801,6 @@ AC_SEARCH_LIBS(crypt, crypt, AC_DEFINE(H # 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