diff options
author | Eli Zaretskii <eliz@gnu.org> | 2003-12-30 06:52:09 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2003-12-30 06:52:09 +0000 |
commit | 1dd727e9e932e53956fe4fc0cde511c39cc66f38 (patch) | |
tree | 7f59c1e0c088fe1f44f6c2d9db0d42a053bfbb70 /gdb/configure.in | |
parent | 283853005f6b20e6ed7c32a104d31e69023739c6 (diff) | |
download | gdb-1dd727e9e932e53956fe4fc0cde511c39cc66f38.zip gdb-1dd727e9e932e53956fe4fc0cde511c39cc66f38.tar.gz gdb-1dd727e9e932e53956fe4fc0cde511c39cc66f38.tar.bz2 |
* remote-fileio.c (remote_fileio_to_fio_stat)
(remote_fileio_func_fstat) [HAVE_STRUCT_STAT_ST_BLOCKS]: Support
systems that don't have `st_blocks' member in `struct stat'.
* configure.in (HAVE_STRUCT_STAT_ST_BLOCKS): Ditto.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index d27470c..f0f65c2 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -383,6 +383,12 @@ AC_CHECK_HEADERS(curses.h ncurses.h term.h) # unconditionally, so what's the point in checking these? AC_CHECK_HEADERS(ctype.h time.h) +# remote-fileio.c needs st_blocks +AC_CHECK_MEMBER(struct stat.st_blocks, + [AC_DEFINE(HAVE_STRUCT_STAT_ST_BLOCKS, 1, + [Define if struct stat has st_blocks member.])], + [#include <sys/stat.h>]) + # ------------------------- # # Checks for declarations. # # ------------------------- # |