summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2010-06-26 23:55:33 +0400
committerSergey Petrunya <psergey@askmonty.org>2010-06-26 23:55:33 +0400
commit7d9dc976820453584fec588e0d4cc52b63971a35 (patch)
tree61734d5bf472ece15ca48a8ba32ad08e85ca2d9f /configure.in
parent4b71be90527e57e0bf6a9a4a55fa8857aabb8c3c (diff)
downloadmariadb-git-7d9dc976820453584fec588e0d4cc52b63971a35.tar.gz
Fix windows build: provide log2 function if the system doesn't have it.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index b524dcee702..187d65684ea 100644
--- a/configure.in
+++ b/configure.in
@@ -852,6 +852,7 @@ AC_CHECK_HEADERS([xfs/xfs.h])
#--------------------------------------------------------------------
AC_CHECK_LIB(m, floor, [], AC_CHECK_LIB(m, __infinity))
+AC_CHECK_FUNCS(log2)
AC_CHECK_LIB(nsl_r, gethostbyname_r, [],
AC_CHECK_LIB(nsl, gethostbyname_r))