diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-05-29 02:31:09 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-05-29 02:31:09 +0000 |
commit | 21d9736a2ff5dae65cf0e6bbdc1b1e99c25bc439 (patch) | |
tree | c0284bdacf5548994616cff7d7b05db5f6eba704 /cpukit/configure.ac | |
parent | 2010-05-28 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-21d9736a2ff5dae65cf0e6bbdc1b1e99c25bc439.tar.bz2 |
2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/src/dirutils.c: Add PRIomode_t, PRIdoff_t.
* configure.ac: Add AC_CHECK_SIZEOF(mode_t), AC_CHECK_SIZEOF(off_t).
Diffstat (limited to 'cpukit/configure.ac')
-rw-r--r-- | cpukit/configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/configure.ac b/cpukit/configure.ac index 6957271dea..ad250b4ec0 100644 --- a/cpukit/configure.ac +++ b/cpukit/configure.ac @@ -248,6 +248,12 @@ AC_CHECK_HEADERS([sys/queue.h],[NEED_SYS_QUEUE_H=no],[NEED_SYS_QUEUE_H=yes]) # configuration-time diagnostics and are not really used. AC_CHECK_DECLS([_POSIX_LOGIN_NAME_MAX],,,[#include <limits.h>]) AC_CHECK_DECLS([CHAR_BIT],,,[#include <limits.h>]) + +# FIXME: We should get rid of this. +# So far, only used in libfs/src/nfsclient/src/dirutils.c +AC_CHECK_SIZEOF([mode_t]) +AC_CHECK_SIZEOF([off_t]) + # FIXME: Mandatory in SUSv4, optional in SUSv3. # Not implemented in GCC/newlib, so far. AC_CHECK_DECLS([WORD_BIT],,,[#include <limits.h>]) |