Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 499d365

Browse files
committed
Issue #17603: Merge configure.ac fix from 3.5
2 parents b3bf448 + d887d1f commit 499d365

4 files changed

Lines changed: 4 additions & 15 deletions

File tree

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -846,6 +846,9 @@ Tests
846846
Build
847847
-----
848848

849+
- Issue #17603: Avoid error about nonexistant fileblocks.o file by using a
850+
lower-level check for st_blocks in struct stat.
851+
849852
- Issue #26079: Fixing the build output folder for tix-8.4.3.6. Patch by
850853
Bjoern Thiel.
851854

configure

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12869,19 +12869,9 @@ cat >>confdefs.h <<_ACEOF
1286912869
_ACEOF
1287012870

1287112871

12872-
$as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
12873-
12874-
else
12875-
case " $LIBOBJS " in
12876-
*" fileblocks.$ac_objext "* ) ;;
12877-
*) LIBOBJS="$LIBOBJS fileblocks.$ac_objext"
12878-
;;
12879-
esac
12880-
1288112872
fi
1288212873

1288312874

12884-
1288512875
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for time.h that defines altzone" >&5
1288612876
$as_echo_n "checking for time.h that defines altzone... " >&6; }
1288712877
if ${ac_cv_header_time_altzone+:} false; then :

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3727,7 +3727,7 @@ AC_CHECK_MEMBERS([struct stat.st_blksize])
37273727
AC_CHECK_MEMBERS([struct stat.st_flags])
37283728
AC_CHECK_MEMBERS([struct stat.st_gen])
37293729
AC_CHECK_MEMBERS([struct stat.st_birthtime])
3730-
AC_STRUCT_ST_BLOCKS
3730+
AC_CHECK_MEMBERS([struct stat.st_blocks])
37313731

37323732
AC_MSG_CHECKING(for time.h that defines altzone)
37333733
AC_CACHE_VAL(ac_cv_header_time_altzone,[

pyconfig.h.in

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -934,10 +934,6 @@
934934
/* Define to 1 if `tm_zone' is a member of `struct tm'. */
935935
#undef HAVE_STRUCT_TM_TM_ZONE
936936

937-
/* Define to 1 if your `struct stat' has `st_blocks'. Deprecated, use
938-
`HAVE_STRUCT_STAT_ST_BLOCKS' instead. */
939-
#undef HAVE_ST_BLOCKS
940-
941937
/* Define if you have the 'symlink' function. */
942938
#undef HAVE_SYMLINK
943939

0 commit comments

Comments
 (0)