change log for rtems (2011-05-18)

rtems-vc at rtems.org rtems-vc at rtems.org
Wed May 18 09:11:48 UTC 2011


 *ralf*:
2011-05-18	Ralf Corsépius <ralf.corsepius at rtems.org>

	*  configure.ac: Require time.h to provide CLOCK_PROCESS_CPUTIME_ID,
	CLOCK_THREAD_CPUTIME_ID.

M 1.2837  cpukit/ChangeLog
M  1.205  cpukit/configure.ac

diff -u rtems/cpukit/ChangeLog:1.2836 rtems/cpukit/ChangeLog:1.2837
--- rtems/cpukit/ChangeLog:1.2836	Wed May 18 00:16:23 2011
+++ rtems/cpukit/ChangeLog	Wed May 18 03:59:44 2011
@@ -1,5 +1,10 @@
 2011-05-18	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	*  configure.ac: Require time.h to provide CLOCK_PROCESS_CPUTIME_ID,
+	CLOCK_THREAD_CPUTIME_ID.
+
+2011-05-18	Ralf Corsépius <ralf.corsepius at rtems.org>
+
 	* sapi/Makefile.am: Reformat.
 
 2011-05-18	Ralf Corsépius <ralf.corsepius at rtems.org>

diff -u rtems/cpukit/configure.ac:1.204 rtems/cpukit/configure.ac:1.205
--- rtems/cpukit/configure.ac:1.204	Wed Mar 16 15:05:04 2011
+++ rtems/cpukit/configure.ac	Wed May 18 03:59:44 2011
@@ -66,6 +66,10 @@
 AC_CHECK_DECLS([funlockfile],[AC_CHECK_FUNCS([funlockfile])],,[#include <stdio.h>])
 AC_CHECK_DECLS([ftrylockfile],[AC_CHECK_FUNCS([ftrylockfile])],,[#include <stdio.h>])
 
+# Mandated by POSIX, older newlibs bogusly provided CLOCK_PROCESS_CPUTIME+CLOCK_THREAD_CPUTIME
+AC_CHECK_DECL([CLOCK_PROCESS_CPUTIME_ID],[],[AC_MSG_ERROR([missing define CLOCK_PROCESS_CPUTIME_ID])],[#include <time.h>])
+AC_CHECK_DECL([CLOCK_THREAD_CPUTIME_ID],[],[AC_MSG_ERROR([missing define CLOCK_THREAD_CPUTIME_ID])],[#include <time.h>])
+
 # Mandated by POSIX, decls not present in some versions of newlib,
 # some versions stubbed in newlib's rtems crt0
 RTEMS_CHECK_FUNC([seteuid],[#include <unistd.h>])



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110518/e695dd84/attachment-0001.html>


More information about the vc mailing list