change log for rtems (2011-03-02)
rtems-vc at rtems.org
rtems-vc at rtems.org
Wed Mar 2 08:10:28 UTC 2011
*ralf*:
2011-03-02 Ralf Corsépius <ralf.corsepius at rtems.org>
* configure.ac: Remove unused AM_CONDITIONAL([NEED_SYS_CDEFS_H]).
Remove unused AM_CONDITIONAL([NEED_SYS_QUEUE_H]).
M 1.2752 cpukit/ChangeLog
M 1.202 cpukit/configure.ac
diff -u rtems/cpukit/ChangeLog:1.2751 rtems/cpukit/ChangeLog:1.2752
--- rtems/cpukit/ChangeLog:1.2751 Mon Feb 28 23:29:26 2011
+++ rtems/cpukit/ChangeLog Wed Mar 2 01:22:25 2011
@@ -1,3 +1,8 @@
+2011-03-02 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * configure.ac: Remove unused AM_CONDITIONAL([NEED_SYS_CDEFS_H]).
+ Remove unused AM_CONDITIONAL([NEED_SYS_QUEUE_H]).
+
2011-03-01 Chris Johns <chrisj at rtems.org>
* score/src/heapfree.c, score/src/heapresizeblock.c: PR 1746. Move
diff -u rtems/cpukit/configure.ac:1.201 rtems/cpukit/configure.ac:1.202
--- rtems/cpukit/configure.ac:1.201 Fri Feb 25 04:20:02 2011
+++ rtems/cpukit/configure.ac Wed Mar 2 01:22:25 2011
@@ -272,9 +272,6 @@
# libmisc/serdbg exploits weak symbols
RTEMS_CHECK_GCC_WEAK
-AC_CHECK_HEADERS([sys/cdefs.h],[NEED_SYS_CDEFS_H=no],[NEED_SYS_CDEFS_H=yes])
-AC_CHECK_HEADERS([sys/queue.h],[NEED_SYS_QUEUE_H=no],[NEED_SYS_QUEUE_H=yes])
-
# FIXME: These checks are only in here to provide
# configuration-time diagnostics and are not really used.
AC_CHECK_DECLS([_POSIX_LOGIN_NAME_MAX],,,[#include <limits.h>])
@@ -305,9 +302,6 @@
AM_CONDITIONAL(HAS_PTHREADS,test x"$rtems_cv_HAS_POSIX_API" = x"yes")
AM_CONDITIONAL(LIBNETWORKING,test x"$rtems_cv_HAS_NETWORKING" = x"yes")
-AM_CONDITIONAL([NEED_SYS_CDEFS_H],[test x"$NEED_SYS_CDEFS_H" = x"yes"])
-AM_CONDITIONAL([NEED_SYS_QUEUE_H],[test x"$NEED_SYS_QUEUE_H" = x"yes"])
-
AM_CONDITIONAL([LIBSHELL],[test x"$HAVE_ASSIGNABLE_STDIO" = x"yes"])
AM_CONDITIONAL([LIBSERDBG],[test x"$rtems_cv_cc_attribute_weak" = x"yes"])
AM_CONDITIONAL([LIBGNAT],[test x"$rtems_cv_HAS_POSIX_API" = x"yes" \
*ralf*:
2011-03-02 Ralf Corsépius <ralf.corsepius at rtems.org>
* configure.ac: Rework checks for mandated headers tar.h,
errno.h, sched.h, sys/cdefs.h, sys/queue.h.
M 1.2753 cpukit/ChangeLog
M 1.203 cpukit/configure.ac
diff -u rtems/cpukit/ChangeLog:1.2752 rtems/cpukit/ChangeLog:1.2753
--- rtems/cpukit/ChangeLog:1.2752 Wed Mar 2 01:22:25 2011
+++ rtems/cpukit/ChangeLog Wed Mar 2 01:24:24 2011
@@ -1,5 +1,10 @@
2011-03-02 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * configure.ac: Rework checks for mandated headers tar.h,
+ errno.h, sched.h, sys/cdefs.h, sys/queue.h.
+
+2011-03-02 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* configure.ac: Remove unused AM_CONDITIONAL([NEED_SYS_CDEFS_H]).
Remove unused AM_CONDITIONAL([NEED_SYS_QUEUE_H]).
diff -u rtems/cpukit/configure.ac:1.202 rtems/cpukit/configure.ac:1.203
--- rtems/cpukit/configure.ac:1.202 Wed Mar 2 01:22:25 2011
+++ rtems/cpukit/configure.ac Wed Mar 2 01:24:24 2011
@@ -93,8 +93,12 @@
AC_CHECK_FUNCS([ttyname getcwd])
# </FIXME>
-## Check if the installed toolchain has these headers
-AC_CHECK_HEADERS([tar.h errno.h sched.h])
+# Check if the installed toolchain provides these headers
+# and error out if not.
+AC_CHECK_HEADERS([tar.h errno.h sched.h sys/cdefs.h sys/queue.h],,
+ [rtems_missing_header="$ac_header";break])
+AS_IF([test -n "$rtems_missing_header"],
+ AC_MSG_ERROR([Missing required header $rtems_missing_header])])
## error out if libc doesn't provide stdint.h
AS_IF([test x"${ac_cv_header_stdint_h}" != xyes],
@@ -104,18 +108,6 @@
AS_IF([test x"${ac_cv_header_inttypes_h}" != xyes],
[AC_MSG_ERROR([Required header inttypes.h not found])])
-## error out if libc doesn't provide errno.h
-AS_IF([test x"${ac_cv_header_errno_h}" != xyes],
-[AC_MSG_ERROR([Required header errno.h not found])])
-
-## error out if libc doesn't provide sched.h
-AS_IF([test x"${ac_cv_header_sched_h}" != xyes],
-[AC_MSG_ERROR([Required header sched.h not found])])
-
-## error out if libc doesn't provide tar.h
-AS_IF([test x"${ac_cv_header_tar_h}" != xyes],
-[AC_MSG_ERROR([Required header tar.h not found])])
-
AC_HEADER_STDBOOL
AS_IF([test x"${ac_cv_header_stdbool_h}" != xyes],
[AC_MSG_ERROR([No sufficient stdbool.h found])])
--
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/20110302/e41cf284/attachment.html>
More information about the vc
mailing list