Changeset 36d9f42f in rtems


Ignore:
Timestamp:
Mar 2, 2011, 7:24:24 AM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
db4219ea
Parents:
87f5e2d
Message:

2011-03-02 Ralf Corsépius <ralf.corsepius@…>

  • configure.ac: Rework checks for mandated headers tar.h, errno.h, sched.h, sys/cdefs.h, sys/queue.h.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r87f5e2d r36d9f42f  
     12011-03-02      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * configure.ac: Rework checks for mandated headers tar.h,
     4        errno.h, sched.h, sys/cdefs.h, sys/queue.h.
     5
    162011-03-02      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • cpukit/configure.ac

    r87f5e2d r36d9f42f  
    9494# </FIXME>
    9595
    96 ## Check if the installed toolchain has these headers
    97 AC_CHECK_HEADERS([tar.h errno.h sched.h])
     96# Check if the installed toolchain provides these headers
     97# and error out if not.
     98AC_CHECK_HEADERS([tar.h errno.h sched.h sys/cdefs.h sys/queue.h],,
     99  [rtems_missing_header="$ac_header";break])
     100AS_IF([test -n "$rtems_missing_header"],
     101  AC_MSG_ERROR([Missing required header $rtems_missing_header])])
    98102
    99103## error out if libc doesn't provide stdint.h
     
    104108AS_IF([test x"${ac_cv_header_inttypes_h}" != xyes],
    105109[AC_MSG_ERROR([Required header inttypes.h not found])])
    106 
    107 ## error out if libc doesn't provide errno.h
    108 AS_IF([test x"${ac_cv_header_errno_h}" != xyes],
    109 [AC_MSG_ERROR([Required header errno.h not found])])
    110 
    111 ## error out if libc doesn't provide sched.h
    112 AS_IF([test x"${ac_cv_header_sched_h}" != xyes],
    113 [AC_MSG_ERROR([Required header sched.h not found])])
    114 
    115 ## error out if libc doesn't provide tar.h
    116 AS_IF([test x"${ac_cv_header_tar_h}" != xyes],
    117 [AC_MSG_ERROR([Required header tar.h not found])])
    118110
    119111AC_HEADER_STDBOOL
Note: See TracChangeset for help on using the changeset viewer.