summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorDavi Arnaut <davi.arnaut@oracle.com>2010-10-19 15:05:25 -0200
committerDavi Arnaut <davi.arnaut@oracle.com>2010-10-19 15:05:25 -0200
commit9be9ad7b05590c3dc1ec432256f41924efa5ada0 (patch)
tree7ddffd8aa39d70714bcf415cd7d932212408af50 /configure.cmake
parenta7c933384c6e8e1706235fbbf9572740a3ecd931 (diff)
parent7406b38efa0a2eec5a245839c5ce13b85d51d125 (diff)
downloadmariadb-git-9be9ad7b05590c3dc1ec432256f41924efa5ada0.tar.gz
Merge of mysql-5.1-bugteam into mysql-5.5-bugteam.
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.cmake b/configure.cmake
index 91c39fc5b09..cba9e79ff23 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -299,7 +299,8 @@ CHECK_FUNCTION_EXISTS (dlopen HAVE_DLOPEN)
CHECK_FUNCTION_EXISTS (fchmod HAVE_FCHMOD)
CHECK_FUNCTION_EXISTS (fcntl HAVE_FCNTL)
CHECK_FUNCTION_EXISTS (fconvert HAVE_FCONVERT)
-CHECK_SYMBOL_EXISTS(fdatasync "unistd.h" HAVE_FDATASYNC)
+CHECK_FUNCTION_EXISTS (fdatasync HAVE_FDATASYNC)
+CHECK_SYMBOL_EXISTS(fdatasync "unistd.h" HAVE_DECL_FDATASYNC)
CHECK_FUNCTION_EXISTS (fesetround HAVE_FESETROUND)
CHECK_FUNCTION_EXISTS (fpsetmask HAVE_FPSETMASK)
CHECK_FUNCTION_EXISTS (fseeko HAVE_FSEEKO)