diff options
author | unknown <cmiller@zippy.cornsilk.net> | 2007-05-08 09:18:51 -0400 |
---|---|---|
committer | unknown <cmiller@zippy.cornsilk.net> | 2007-05-08 09:18:51 -0400 |
commit | 2013f17e77eba6ee1f319fa51afe4aaa28a0aa20 (patch) | |
tree | f35dc2c6813e52615cc582d502dfe406e50e70c4 /configure.in | |
parent | cd43057b95af334a348e0d19bf2d8e506b974042 (diff) | |
download | mariadb-git-2013f17e77eba6ee1f319fa51afe4aaa28a0aa20.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.
configure.in:
We can't check for sched_yield, as that is in libc on FBSD.
Re-add the check for sem_init in librt.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
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 |