diff options
| author | Tom Lane | 2006-01-17 23:52:31 +0000 |
|---|---|---|
| committer | Tom Lane | 2006-01-17 23:52:31 +0000 |
| commit | 558bc2584d7e79801acb8344b79838cd3511915b (patch) | |
| tree | e1cb52137df9ea82b0bc9c85c80d68445b2763e4 /configure.in | |
| parent | f3dda5be890dfdd6a3fae6ff21737307fcc6c0a8 (diff) | |
Fix fsync code to test whether F_FULLFSYNC is available, instead of
assuming it always is on Darwin. Per report from Neil Brandt.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 9ede74a7b43..4edd00e11f4 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -dnl $PostgreSQL: pgsql/configure.in,v 1.442 2006/01/12 19:23:22 tgl Exp $ +dnl $PostgreSQL: pgsql/configure.in,v 1.443 2006/01/17 23:52:30 tgl Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -810,6 +810,9 @@ if test "$with_krb5" = yes; then [#include <krb5.h>]) fi +# This is probably only present on Darwin, but may as well check always +AC_CHECK_DECLS(F_FULLFSYNC, [], [], [#include <fcntl.h>]) + ## ## Functions, global variables ## |
