change log for rtems (2010-10-08)

rtems-vc at rtems.org rtems-vc at rtems.org
Fri Oct 8 10:10:19 UTC 2010


 *ralf*:
2010-10-08	Ralf Corsépius <ralf.corsepius at rtems.org>

	* psx07/init.c: Add HAVE_DECL_PTHREAD_ATTR_SETGUARDSIZE guard around
	guardsize.

M  1.320  testsuites/psxtests/ChangeLog
M   1.35  testsuites/psxtests/psx07/init.c

diff -u rtems/testsuites/psxtests/ChangeLog:1.319 rtems/testsuites/psxtests/ChangeLog:1.320
--- rtems/testsuites/psxtests/ChangeLog:1.319	Mon Oct  4 11:09:44 2010
+++ rtems/testsuites/psxtests/ChangeLog	Fri Oct  8 04:39:35 2010
@@ -1,3 +1,8 @@
+2010-10-08	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* psx07/init.c: Add HAVE_DECL_PTHREAD_ATTR_SETGUARDSIZE guard around
+	guardsize.
+
 2010-10-04	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* psxhdrs/pthread37.c, psxhdrs/pthread38.c, psxhdrs/pthread39.c,

diff -u rtems/testsuites/psxtests/psx07/init.c:1.34 rtems/testsuites/psxtests/psx07/init.c:1.35
--- rtems/testsuites/psxtests/psx07/init.c:1.34	Mon Oct  4 10:53:45 2010
+++ rtems/testsuites/psxtests/psx07/init.c	Fri Oct  8 04:39:35 2010
@@ -63,7 +63,9 @@
   int                 inheritsched;
   int                 schedpolicy;
   size_t              stacksize;
+#if HAVE_DECL_PTHREAD_ATTR_SETGUARDSIZE
   size_t              guardsize;
+#endif
   void               *stackaddr;
   int                 detachstate;
   struct sched_param  schedparam;


 *ralf*:
2010-10-08	Ralf Corsépius <ralf.corsepius at rtems.org>

	* aclocal/check-func.m4: Linearize checks.
	Add missing $2 to AC_CHECK_DECL.

M 1.2632  cpukit/ChangeLog
M    1.2  cpukit/aclocal/check-func.m4

diff -u rtems/cpukit/ChangeLog:1.2631 rtems/cpukit/ChangeLog:1.2632
--- rtems/cpukit/ChangeLog:1.2631	Mon Oct  4 12:45:32 2010
+++ rtems/cpukit/ChangeLog	Fri Oct  8 04:42:10 2010
@@ -1,3 +1,8 @@
+2010-10-08	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* aclocal/check-func.m4: Linearize checks.
+	Add missing $2 to AC_CHECK_DECL.
+
 2010-10-04	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* Makefile.am, configure.ac: Revert accident commit adding libdbm to

diff -u rtems/cpukit/aclocal/check-func.m4:1.1 rtems/cpukit/aclocal/check-func.m4:1.2
--- rtems/cpukit/aclocal/check-func.m4:1.1	Tue Aug  3 10:42:44 2010
+++ rtems/cpukit/aclocal/check-func.m4	Fri Oct  8 04:42:11 2010
@@ -6,17 +6,16 @@
 # RTEMS_CHECK_FUNC(FUNCTION[,INCLUDES])
 AC_DEFUN([RTEMS_CHECK_FUNC],
 [AC_REQUIRE([RTEMS_CHECK_NEWLIB])
-AC_CHECK_DECLS([$1],
-[
-  AC_CACHE_CHECK([for $1],[ac_cv_$1],[
-    AC_LINK_IFELSE(
-      [AC_LANG_PROGRAM([[$2]],[[rtems_stub_$1()]])],
-      [ac_cv_$1="stub"],
-      [AC_LINK_IFELSE(
-        [AC_LANG_PROGRAM([[$2]],[[$1()]])],
-        [ac_cv_$1="yes"],
-        [ac_cv_$1="no"])
-      ])
+AC_CHECK_DECLS([$1],,,[$2])
+
+AC_CACHE_CHECK([for $1],[ac_cv_$1],[
+  AC_LINK_IFELSE(
+    [AC_LANG_PROGRAM([[$2]],[[rtems_stub_$1()]])],
+    [ac_cv_$1="stub"],
+    [AC_LINK_IFELSE(
+      [AC_LANG_PROGRAM([[$2]],[[$1()]])],
+      [ac_cv_$1="yes"],
+      [ac_cv_$1="no"])
     ])
   ])
 AS_IF([test "$ac_cv_$1" = yes],


 *ralf*:
2010-10-08	Ralf Corsépius <ralf.corsepius at rtems.org>

	* configure.ac: pthread_attr* functions are in <pthread.h>, not in
	<pthreads.h>.

M 1.2633  cpukit/ChangeLog
M  1.195  cpukit/configure.ac

diff -u rtems/cpukit/ChangeLog:1.2632 rtems/cpukit/ChangeLog:1.2633
--- rtems/cpukit/ChangeLog:1.2632	Fri Oct  8 04:42:10 2010
+++ rtems/cpukit/ChangeLog	Fri Oct  8 04:44:44 2010
@@ -1,5 +1,7 @@
 2010-10-08	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* configure.ac: pthread_attr* functions are in <pthread.h>, not in
+	<pthreads.h>.
 	* aclocal/check-func.m4: Linearize checks.
 	Add missing $2 to AC_CHECK_DECL.
 

diff -u rtems/cpukit/configure.ac:1.194 rtems/cpukit/configure.ac:1.195
--- rtems/cpukit/configure.ac:1.194	Mon Oct  4 12:45:32 2010
+++ rtems/cpukit/configure.ac	Fri Oct  8 04:44:44 2010
@@ -79,10 +79,10 @@
 RTEMS_CHECK_FUNC([getpgrp],[#include <unistd.h>])
 
 # pthread-functions not declared in some versions of newlib.
-RTEMS_CHECK_FUNC([pthread_attr_getguardsize],[#include <pthreads.h>])
-RTEMS_CHECK_FUNC([pthread_attr_setguardsize],[#include <pthreads.h>])
-RTEMS_CHECK_FUNC([pthread_attr_setstack],[#include <pthreads.h>])
-RTEMS_CHECK_FUNC([pthread_attr_getstack],[#include <pthreads.h>])
+RTEMS_CHECK_FUNC([pthread_attr_getguardsize],[#include <pthread.h>])
+RTEMS_CHECK_FUNC([pthread_attr_setguardsize],[#include <pthread.h>])
+RTEMS_CHECK_FUNC([pthread_attr_setstack],[#include <pthread.h>])
+RTEMS_CHECK_FUNC([pthread_attr_getstack],[#include <pthread.h>])
 
 # Newlib's unix/ directory
 AC_CHECK_FUNCS([ttyname getcwd])



--

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/20101008/f159ec2b/attachment.html>


More information about the vc mailing list