]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
backport of HAVE_FSYNC fix
authorSkip Montanaro <skip@pobox.com>
Thu, 25 Sep 2003 15:21:00 +0000 (15:21 +0000)
committerSkip Montanaro <skip@pobox.com>
Thu, 25 Sep 2003 15:21:00 +0000 (15:21 +0000)
configure
configure.in
pyconfig.h.in

index c09430f14f1ec01680755a580b408a6e4787a882..2113c2f2779d9583fbd442cd4aa98a18b4b69b50 100755 (executable)
--- 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
index e1359d61511c8e42df77f86c81be2d34125f27e0..dfa9113238cb3a4bbf4ca0235890372632e3e74f 100644 (file)
@@ -2093,7 +2093,7 @@ AC_TRY_COMPILE([#include <unistd.h>], void *x=fchdir,
 )
 AC_MSG_CHECKING(for fsync)
 AC_TRY_COMPILE([#include <unistd.h>], 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)
 )
index 6c0a744f32fa5c829e3420685aeb42628f5c4ef1..2ab8b9c4fd5b496542bfb151402dda18d2c97323 100644 (file)
 #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