summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSage Weil <sage.weil@dreamhost.com>2012-04-08 20:58:59 -0700
committerSage Weil <sage.weil@dreamhost.com>2012-04-08 20:58:59 -0700
commitdd8fd1688a358758d5c9c605ddb1e87aedf2ade4 (patch)
treef72c19e23bedd46af13518669b655691694b39e1 /configure.ac
parent2dbdadbe48c93ba492a107947323330301b746af (diff)
downloadceph-dd8fd1688a358758d5c9c605ddb1e87aedf2ade4.tar.gz
configure: HAVE_FALLOCATE -> CEPH_HAVE_FALLOCATE
/usr/include/linux/fs.h defines this on CentOS 5, even though it does not in fact compile. This stupid workaround avoids the problem. Reported-by: Nick Couchman <Nick.Couchman@seakr.com> Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 6376c04f473..595c4fde259 100644
--- a/configure.ac
+++ b/configure.ac
@@ -343,7 +343,7 @@ AC_CHECK_FUNC([sync_file_range],
# fallocate
AC_CHECK_FUNC([fallocate],
- [AC_DEFINE([HAVE_FALLOCATE], [], [fallocate(2) is supported])],
+ [AC_DEFINE([CEPH_HAVE_FALLOCATE], [], [fallocate(2) is supported])],
[])