* configure.in (SIM_CHECK_MEMBERS): Call for struct stat members
authorHans-Peter Nilsson <hp@axis.com>
Fri, 3 Dec 2004 19:36:53 +0000 (19:36 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Fri, 3 Dec 2004 19:36:53 +0000 (19:36 +0000)
commit697afb65fcf45bf27572b10e788fd8661efe5113
tree33794cf77ed2eb9b137d264ddc0f78695af40458
parentdd515450aae7d58869110173117a0c9ec3a7a362
* 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.
sim/common/ChangeLog
sim/common/aclocal.m4
sim/common/callback.c
sim/common/config.in
sim/common/configure
sim/common/configure.in