summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@skysql.com>2014-10-28 14:49:31 +0400
committerJan Lindström <jan.lindstrom@skysql.com>2014-10-29 11:07:11 +0200
commitb96697d286e477ae8df212bdf0350d3110168499 (patch)
tree076cf49e3caf69ce4afc7fc8eba21ba574a34e5a /configure.cmake
parente48fbd28d298417aae1eb06b3842586598e5dfce (diff)
downloadmariadb-git-b96697d286e477ae8df212bdf0350d3110168499.tar.gz
MDEV-6648: InnoDB: Add support for 4K sector size if supported
New generation hard drives, SSDs and NVM devices support 4K sector size. Supported sector size can be found using fstatvfs() or GetDiskFreeSpace() functions.
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake
index d8b219f0e01..d5076dada02 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -260,6 +260,7 @@ CHECK_INCLUDE_FILES (wchar.h HAVE_WCHAR_H)
CHECK_INCLUDE_FILES (wctype.h HAVE_WCTYPE_H)
CHECK_INCLUDE_FILES (sys/sockio.h HAVE_SYS_SOCKIO_H)
CHECK_INCLUDE_FILES (sys/utsname.h HAVE_SYS_UTSNAME_H)
+CHECK_INCLUDE_FILES (sys/statvfs.h HAVE_SYS_STATVFS_H)
SET(CMAKE_REQUIRED_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} -DPACKAGE=test) # bfd.h is picky
CHECK_INCLUDE_FILES (bfd.h BFD_H_EXISTS)