Kaydet (Commit) a45120db authored tarafından Martin Panter's avatar Martin Panter

Issue #17603: Check for st_blocks field without requiring fileblocks.o

üst ec8d6c2d
...@@ -170,6 +170,9 @@ Tests ...@@ -170,6 +170,9 @@ Tests
Build Build
----- -----
- Issue #17603: Avoid error about nonexistant fileblocks.o file by using a
lower-level check for st_blocks in struct stat.
- Issue #26465: Update Windows builds to use OpenSSL 1.0.2g. - Issue #26465: Update Windows builds to use OpenSSL 1.0.2g.
- Issue #24421: Compile Modules/_math.c once, before building extensions. - Issue #24421: Compile Modules/_math.c once, before building extensions.
......
...@@ -11962,19 +11962,9 @@ cat >>confdefs.h <<_ACEOF ...@@ -11962,19 +11962,9 @@ cat >>confdefs.h <<_ACEOF
_ACEOF _ACEOF
$as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
else
case " $LIBOBJS " in
*" fileblocks.$ac_objext "* ) ;;
*) LIBOBJS="$LIBOBJS fileblocks.$ac_objext"
;;
esac
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for time.h that defines altzone" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for time.h that defines altzone" >&5
$as_echo_n "checking for time.h that defines altzone... " >&6; } $as_echo_n "checking for time.h that defines altzone... " >&6; }
if ${ac_cv_header_time_altzone+:} false; then : if ${ac_cv_header_time_altzone+:} false; then :
......
...@@ -3439,7 +3439,7 @@ AC_CHECK_MEMBERS([struct stat.st_blksize]) ...@@ -3439,7 +3439,7 @@ AC_CHECK_MEMBERS([struct stat.st_blksize])
AC_CHECK_MEMBERS([struct stat.st_flags]) AC_CHECK_MEMBERS([struct stat.st_flags])
AC_CHECK_MEMBERS([struct stat.st_gen]) AC_CHECK_MEMBERS([struct stat.st_gen])
AC_CHECK_MEMBERS([struct stat.st_birthtime]) AC_CHECK_MEMBERS([struct stat.st_birthtime])
AC_STRUCT_ST_BLOCKS AC_CHECK_MEMBERS([struct stat.st_blocks])
AC_MSG_CHECKING(for time.h that defines altzone) AC_MSG_CHECKING(for time.h that defines altzone)
AC_CACHE_VAL(ac_cv_header_time_altzone,[ AC_CACHE_VAL(ac_cv_header_time_altzone,[
......
...@@ -731,10 +731,6 @@ ...@@ -731,10 +731,6 @@
/* Define to 1 if `tm_zone' is a member of `struct tm'. */ /* Define to 1 if `tm_zone' is a member of `struct tm'. */
#undef HAVE_STRUCT_TM_TM_ZONE #undef HAVE_STRUCT_TM_TM_ZONE
/* Define to 1 if your `struct stat' has `st_blocks'. Deprecated, use
`HAVE_STRUCT_STAT_ST_BLOCKS' instead. */
#undef HAVE_ST_BLOCKS
/* Define if you have the 'symlink' function. */ /* Define if you have the 'symlink' function. */
#undef HAVE_SYMLINK #undef HAVE_SYMLINK
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment