mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Removed obsolete autoconf checks
Use regular `AC_CHECK_MEMBERS` instead of: * `AC_STRUCT_ST_BLKSIZE` * `AC_STRUCT_ST_BLOCKS` * `AC_STRUCT_ST_RDEV`
This commit is contained in:
parent
0df67a4695
commit
4d2ad8d737
Notes:
git
2020-12-12 20:20:54 +09:00
3 changed files with 3 additions and 5 deletions
|
@ -1641,9 +1641,9 @@ RUBY_CHECK_SIZEOF(size_t, [int long void*], [], [@%:@include <sys/types.h>])
|
|||
RUBY_CHECK_SIZEOF(ptrdiff_t, size_t, [], [@%:@include <stddef.h>])
|
||||
RUBY_CHECK_PRINTF_PREFIX(size_t, z)
|
||||
RUBY_CHECK_PRINTF_PREFIX(ptrdiff_t, t)
|
||||
AC_STRUCT_ST_BLKSIZE
|
||||
AC_STRUCT_ST_BLOCKS
|
||||
AC_STRUCT_ST_RDEV
|
||||
AC_CHECK_MEMBERS([struct stat.st_blksize])
|
||||
AC_CHECK_MEMBERS([struct stat.st_blocks])
|
||||
AC_CHECK_MEMBERS([struct stat.st_rdev])
|
||||
RUBY_CHECK_SIZEOF([struct stat.st_size], [off_t int long "long long"], [], [@%:@include <sys/stat.h>])
|
||||
AS_IF([test "$ac_cv_member_struct_stat_st_blocks" = yes], [
|
||||
RUBY_CHECK_SIZEOF([struct stat.st_blocks], [off_t int long "long long"], [], [@%:@include <sys/stat.h>])
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
/* dummy for autoconf */
|
|
@ -725,7 +725,6 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub
|
|||
#define rb_gid_t int
|
||||
#define rb_uid_t int
|
||||
#define HAVE_STRUCT_STAT_ST_RDEV 1
|
||||
#define HAVE_ST_RDEV 1
|
||||
#define HAVE_STRUCT_TIMEVAL 1
|
||||
!if $(MSC_VER) >= 1900
|
||||
#define HAVE_STRUCT_TIMESPEC
|
||||
|
|
Loading…
Reference in a new issue