summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-09-30 13:08:45 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-09-30 13:08:45 +0000
commitad9eaf26d28138bc4257248a990d294bf7e6a2f7 (patch)
tree60a2a7fcb6c69c1a7274db433119b1869338cfd7 /cpukit
parent2011-09-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-ad9eaf26d28138bc4257248a990d294bf7e6a2f7.tar.bz2
2011-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for size of time_t.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog4
-rw-r--r--cpukit/configure.ac3
2 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index aaa2b6273f..7eaa311429 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,7 @@
+2011-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * configure.ac: Check for size of time_t.
+
2011-09-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/include/rtems/score/tod.h: Declare _TOD_Set_with_timestamp()
diff --git a/cpukit/configure.ac b/cpukit/configure.ac
index 83669daef1..da7e2b1384 100644
--- a/cpukit/configure.ac
+++ b/cpukit/configure.ac
@@ -284,6 +284,9 @@ AC_CHECK_DECLS([CHAR_BIT],,,[#include <limits.h>])
AC_CHECK_SIZEOF([mode_t])
AC_CHECK_SIZEOF([off_t])
+# FIXME: We should get rid of this. It's a cludge.
+AC_CHECK_SIZEOF([time_t])
+
# FIXME: Mandatory in SUSv4, optional in SUSv3.
# Not implemented in GCC/newlib, so far.
AC_CHECK_DECLS([WORD_BIT],,,[#include <limits.h>])