aboutsummaryrefslogtreecommitdiff
path: root/sim/common/configure.ac
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-08-29 11:36:26 +0000
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-08-29 11:36:26 +0000
commit0aec8eb1b5dae3bf88546abd22dbdffc7888b747 (patch)
tree68ebe53127da70e5b3784b093f1635ae04daaa2c /sim/common/configure.ac
parent44330079212335a8744f8d2fa9bc8846877f6db1 (diff)
downloadgdb-0aec8eb1b5dae3bf88546abd22dbdffc7888b747.zip
gdb-0aec8eb1b5dae3bf88546abd22dbdffc7888b747.tar.gz
gdb-0aec8eb1b5dae3bf88546abd22dbdffc7888b747.tar.bz2
Remove SIM_CHECK_MEMBER* in sim/common/.
sim/common/: * aclocal.m4 (SIM_CHECK_MEMBER, SIM_CHECK_MEMBERS) (SIM_CHECK_MEMBERS_1): Remove. * configure.ac: Replace SIM_CHECK_MEMBERS call with equivalent AC_CHECK_MEMBERS one. * configure: Regenerate.
Diffstat (limited to 'sim/common/configure.ac')
-rw-r--r--sim/common/configure.ac10
1 files changed, 8 insertions, 2 deletions
diff --git a/sim/common/configure.ac b/sim/common/configure.ac
index 5516d9e..5f5845a 100644
--- a/sim/common/configure.ac
+++ b/sim/common/configure.ac
@@ -38,10 +38,16 @@ AC_SUBST(TARGET_SUBDIR)
# These aren't all needed yet, but will be eventually.
AC_CHECK_HEADERS(stdlib.h string.h strings.h time.h sys/times.h sys/stat.h sys/mman.h)
AC_CHECK_FUNCS(mmap munmap lstat truncate ftruncate)
-SIM_CHECK_MEMBERS([[struct stat.st_dev], [struct stat.st_ino],
+AC_CHECK_MEMBERS([[struct stat.st_dev], [struct stat.st_ino],
[struct stat.st_mode], [struct stat.st_nlink], [struct stat.st_uid],
[struct stat.st_gid], [struct stat.st_rdev], [struct stat.st_size],
[struct stat.st_blksize], [struct stat.st_blocks], [struct stat.st_atime],
-[struct stat.st_mtime], [struct stat.st_ctime]])
+[struct stat.st_mtime], [struct stat.st_ctime]], [], [],
+[[#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif]])
AC_OUTPUT(Makefile,
[case x$CONFIG_HEADERS in xcconfig.h:config.in) echo > stamp-h ;; esac])