summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorcmiller@zippy.cornsilk.net <>2006-12-12 09:43:12 -0500
committercmiller@zippy.cornsilk.net <>2006-12-12 09:43:12 -0500
commitd67f0cb883936a4b65bb6be589e510cb744a47a5 (patch)
tree3aab89c0fa1553f2b12d1cda9a283071c5947f28 /configure.in
parentf8bd5d312ba8bcbbaacd7cc1f2a74e80a1aacae3 (diff)
downloadmariadb-git-d67f0cb883936a4b65bb6be589e510cb744a47a5.tar.gz
Bug#23294: Detection of sem_xxx functions on NetBSD broken and DragonflyBSD \
misc patches Patch from community member Juan RP. "dragonfly" os name should be synonymous with netbsd and sem_* functions may also be found in librt.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index f6a6eedac70..bfb706aa9c3 100644
--- a/configure.in
+++ b/configure.in
@@ -479,7 +479,7 @@ then
FIND_PROC="$PS \$\$PID | grep -v grep | grep \$\$MYSQLD > /dev/null"
else
case $SYSTEM_TYPE in
- *freebsd*)
+ *freebsd*|*dragonfly*)
FIND_PROC="$PS p \$\$PID | grep -v grep | grep \$\$MYSQLD > /dev/null"
;;
*darwin*)
@@ -756,6 +756,8 @@ AC_SEARCH_LIBS(crypt, crypt, AC_DEFINE(HAVE_CRYPT, 1, [crypt]))
# For sem_xxx functions on Solaris 2.6
AC_CHECK_FUNC(sem_init, , AC_CHECK_LIB(posix4, sem_init))
+# For sem_xxx functions on NetBSD
+AC_CHECK_FUNC(sem_init, , AC_CHECK_LIB(rt, sem_init))
MYSQL_CHECK_ZLIB_WITH_COMPRESS
# For large pages support
@@ -1081,7 +1083,7 @@ case $SYSTEM_TYPE in
MAX_C_OPTIMIZE="-O"
fi
;;
- *freebsd*)
+ *freebsd*|*dragonfly*)
AC_MSG_WARN([Adding fix for interrupted reads])
OSVERSION=`sysctl -a | grep osreldate | awk '{ print $2 }'`
if test "$OSVERSION" -gt "480100" && \