From 4f5d9d1906ede05996f9c205f994bb4d0cc196b7 Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Thu, 25 Sep 2003 15:21:00 +0000 Subject: [PATCH] backport of HAVE_FSYNC fix --- configure | 4 ++-- configure.in | 2 +- pyconfig.h.in | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index c09430f14f1e..2113c2f2779d 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.427.4.4 . +# From configure.in Revision: 1.427.4.5 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.57 for python 2.3. # @@ -13384,7 +13384,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (exit $ac_status); }; }; then cat >>confdefs.h <<\_ACEOF -#define HAVE_SYNC 1 +#define HAVE_FSYNC 1 _ACEOF echo "$as_me:$LINENO: result: yes" >&5 diff --git a/configure.in b/configure.in index e1359d61511c..dfa9113238cb 100644 --- a/configure.in +++ b/configure.in @@ -2093,7 +2093,7 @@ AC_TRY_COMPILE([#include ], void *x=fchdir, ) AC_MSG_CHECKING(for fsync) AC_TRY_COMPILE([#include ], void *x=fsync, - AC_DEFINE(HAVE_SYNC, 1, Define if you have the 'fsync' function.) + AC_DEFINE(HAVE_FSYNC, 1, Define if you have the 'fsync' function.) AC_MSG_RESULT(yes), AC_MSG_RESULT(no) ) diff --git a/pyconfig.h.in b/pyconfig.h.in index 6c0a744f32fa..2ab8b9c4fd5b 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -486,7 +486,7 @@ #undef HAVE_SYMLINK /* Define if you have the 'fsync' function. */ -#undef HAVE_SYNC +#undef HAVE_FSYNC /* Define to 1 if you have the `sysconf' function. */ #undef HAVE_SYSCONF -- 2.47.3