summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorbrane <brane@13f79535-47bb-0310-9956-ffa450edef68>2017-04-05 10:18:57 +0000
committerbrane <brane@13f79535-47bb-0310-9956-ffa450edef68>2017-04-05 10:18:57 +0000
commit31df063bfed2558e5eaf1941b4c020c4beff4be7 (patch)
treea8c2623ab2f9cb870f6157023be04180e3526e82 /configure.in
parent7426b433fbc66f2f8b13a53fcf25fcbd5ddb1e7b (diff)
downloadlibapr-31df063bfed2558e5eaf1941b4c020c4beff4be7.tar.gz
Do not try to use fdatasync() on macOS.
Use the platform-specific fcntl(fd, F_FULLFSYNC) instead. See http://apr.markmail.org/thread/hlgqd5yr6j4auxol git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1790200 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index b406562a6..5dcef8aa4 100644
--- a/configure.in
+++ b/configure.in
@@ -578,6 +578,11 @@ case $host in
;;
esac
;;
+ *apple-darwin*)
+ ac_cv_func_fdatasync="no" # Mac OS X wrongly reports it has fdatasync()
+ OSDIR="unix"
+ eolstr="\\n"
+ ;;
*os390)
OSDIR="os390"
OBJECTS_PLATFORM='$(OBJECTS_os390)'