OSDN Git Service

* 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)
commit6700970780c0d00d52029e6fb1e2f41bcf0983e7
treecc073b34236b41b59ba46aea639acf9a1715d2f8
parent0489b4d71aba59235725e54a939823b2c18cc1af
* 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