* configure.in (SIM_CHECK_MEMBERS): Call for struct stat members

st_dev, st_ino, st_mode, st_nlink, st_uid, st_gid, st_rdev,
	st_size, st_blksize, st_blocks, st_atime, st_mtime and st_ctime.
	* aclocal.m4 (SIM_CHECK_MEMBER, SIM_CHECK_MEMBERS_1)
	(SIM_CHECK_MEMBERS): New macros.
	* callback.c (cb_host_to_target_stat): Use temporary macro ST_x
	for struct stat member test and write.  Add ST_x calls for each
	struct stat member tested in configure.in.  Wrap each ST_x call in
	#ifdef of configure macro for that member.
	* configure, config.in: Regenerate.
This commit is contained in:
Hans-Peter Nilsson
2004-12-03 19:36:53 +00:00
parent dd515450aa
commit 697afb65fc
6 changed files with 1044 additions and 5 deletions

View File

@ -180,3 +180,43 @@
/* Define if you have the socket library (-lsocket). */
#undef HAVE_LIBSOCKET
/* Define to 1 if st_dev is a member of struct stat. */
#undef HAVE_STRUCT_STAT_ST_DEV
/* Define to 1 if st_ino is a member of struct stat. */
#undef HAVE_STRUCT_STAT_ST_INO
/* Define to 1 if st_mode is a member of struct stat. */
#undef HAVE_STRUCT_STAT_ST_MODE
/* Define to 1 if st_nlink is a member of struct stat. */
#undef HAVE_STRUCT_STAT_ST_NLINK
/* Define to 1 if st_uid is a member of struct stat. */
#undef HAVE_STRUCT_STAT_ST_UID
/* Define to 1 if st_gid is a member of struct stat. */
#undef HAVE_STRUCT_STAT_ST_GID
/* Define to 1 if st_rdev is a member of struct stat. */
#undef HAVE_STRUCT_STAT_ST_RDEV
/* Define to 1 if st_size is a member of struct stat. */
#undef HAVE_STRUCT_STAT_ST_SIZE
/* Define to 1 if st_blksize is a member of struct stat. */
#undef HAVE_STRUCT_STAT_ST_BLKSIZE
/* Define to 1 if st_blocks is a member of struct stat. */
#undef HAVE_STRUCT_STAT_ST_BLOCKS
/* Define to 1 if st_atime is a member of struct stat. */
#undef HAVE_STRUCT_STAT_ST_ATIME
/* Define to 1 if st_mtime is a member of struct stat. */
#undef HAVE_STRUCT_STAT_ST_MTIME
/* Define to 1 if st_ctime is a member of struct stat. */
#undef HAVE_STRUCT_STAT_ST_CTIME