aboutsummaryrefslogtreecommitdiff
path: root/sim/common/configure.ac
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2005-04-29 14:48:03 +0000
committerPaul Brook <paul@codesourcery.com>2005-04-29 14:48:03 +0000
commit33aa0cbb6b98b9b52070d0cdbf6462dfdd7070ec (patch)
tree69e534aad1bc4888265affcae8b87215437d9587 /sim/common/configure.ac
parent547b869acde1ba964366d966c020340b243b1080 (diff)
downloadfsf-binutils-gdb-33aa0cbb6b98b9b52070d0cdbf6462dfdd7070ec.zip
fsf-binutils-gdb-33aa0cbb6b98b9b52070d0cdbf6462dfdd7070ec.tar.gz
fsf-binutils-gdb-33aa0cbb6b98b9b52070d0cdbf6462dfdd7070ec.tar.bz2
2005-04-29 Paul Brook <paul@codesourcery.com>
* common/callback.c (PIPE_BUF): Provide default refinition. (os_lstat): Use stat if lstat is not available on the host. (os_ftruncate): Return EINVAL if not available on the host. (os_truncate): Ditto. * common/configure.ac: Check for lstat, truncate and ftruncate. * common/configure: Regenerate. * common/config.in: Regenerate.
Diffstat (limited to 'sim/common/configure.ac')
-rw-r--r--sim/common/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/configure.ac b/sim/common/configure.ac
index 834ef51..5516d9e 100644
--- a/sim/common/configure.ac
+++ b/sim/common/configure.ac
@@ -37,7 +37,7 @@ 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)
+AC_CHECK_FUNCS(mmap munmap lstat truncate ftruncate)
SIM_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],