summaryrefslogtreecommitdiff
path: root/innobase/configure.in
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2004-12-01 18:02:34 +0200
committerunknown <heikki@hundin.mysql.fi>2004-12-01 18:02:34 +0200
commitbefcff9ba5ec37fdf8ccc1aac31ac3ab9dab8ac3 (patch)
treeb8c0c43ac6f20d5c71990bc3ce8fa2598bf09525 /innobase/configure.in
parent561ee8fd3713ddd713c7cc420b8c03265855de51 (diff)
downloadmariadb-git-befcff9ba5ec37fdf8ccc1aac31ac3ab9dab8ac3.tar.gz
configure.in:
Let MySQL check the existence of readdir_r with 3 arguments; Solaris seems to have just 2 args Check the existence of readdir_r and localtime_r; even though MySQL does check these too, we need our own check for Hot Backup code os0file.c: Use re-entrant readdir_r where available ut0ut.c: Make a function to use thread-safe localtime_r where available; that particular function was not called from anywhere, though innobase/ut/ut0ut.c: Make a function to use thread-safe localtime_r where available; the function was not called from anywhere, though innobase/os/os0file.c: Use re-entrant readdir_r where available innobase/configure.in: Let MySQL check the existence of readdir_r with 3 arguments; Solaris seems to have just 2 args
Diffstat (limited to 'innobase/configure.in')
-rw-r--r--innobase/configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/innobase/configure.in b/innobase/configure.in
index d83da9fdc5c..baf11272ab9 100644
--- a/innobase/configure.in
+++ b/innobase/configure.in
@@ -41,7 +41,9 @@ AC_CHECK_SIZEOF(long, 4)
AC_CHECK_SIZEOF(void*, 4)
AC_CHECK_FUNCS(sched_yield)
AC_CHECK_FUNCS(fdatasync)
-#AC_CHECK_FUNCS(localtime_r) # Already checked by MySQL
+AC_CHECK_FUNCS(localtime_r)
+#AC_CHECK_FUNCS(readdir_r) MySQL checks that it has also the right args.
+# Some versions of Unix only take 2 arguments.
#AC_C_INLINE Already checked in MySQL
AC_C_BIGENDIAN