summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@skysql.com>2014-12-03 10:41:52 +0200
committerJan Lindström <jan.lindstrom@skysql.com>2014-12-03 10:41:52 +0200
commitd4aef382fd9e3cc10ed687cc981b43aac1f29281 (patch)
tree6cf63e29aaebe4f60d1150fc73c46e7e9471d7b4 /configure.cmake
parent01590005ba44f350f63b70a7ceb9f69095b293d5 (diff)
downloadmariadb-git-d4aef382fd9e3cc10ed687cc981b43aac1f29281.tar.gz
Fix compiler failure on fallocate function and used flags.
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake
index d5076dada02..5fb86acad70 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -199,6 +199,7 @@ CHECK_INCLUDE_FILES (ieeefp.h HAVE_IEEEFP_H)
CHECK_INCLUDE_FILES (inttypes.h HAVE_INTTYPES_H)
CHECK_INCLUDE_FILES (langinfo.h HAVE_LANGINFO_H)
CHECK_INCLUDE_FILES (linux/unistd.h HAVE_LINUX_UNISTD_H)
+CHECK_INCLUDE_FILES (linux/falloc.h HAVE_LINUX_FALLOC_H)
CHECK_INCLUDE_FILES (limits.h HAVE_LIMITS_H)
CHECK_INCLUDE_FILES (locale.h HAVE_LOCALE_H)
CHECK_INCLUDE_FILES (malloc.h HAVE_MALLOC_H)
@@ -399,6 +400,7 @@ CHECK_FUNCTION_EXISTS (perror HAVE_PERROR)
CHECK_FUNCTION_EXISTS (poll HAVE_POLL)
CHECK_FUNCTION_EXISTS (port_create HAVE_PORT_CREATE)
CHECK_FUNCTION_EXISTS (posix_fallocate HAVE_POSIX_FALLOCATE)
+CHECK_FUNCTION_EXISTS (fallocate HAVE_FALLOCATE)
CHECK_FUNCTION_EXISTS (pread HAVE_PREAD)
CHECK_FUNCTION_EXISTS (pthread_attr_create HAVE_PTHREAD_ATTR_CREATE)
CHECK_FUNCTION_EXISTS (pthread_attr_getstacksize HAVE_PTHREAD_ATTR_GETSTACKSIZE)