diff options
Diffstat (limited to 'cpukit/configure.ac')
-rw-r--r-- | cpukit/configure.ac | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/cpukit/configure.ac b/cpukit/configure.ac index c65d9b51dc..1db56ca2c7 100644 --- a/cpukit/configure.ac +++ b/cpukit/configure.ac @@ -86,6 +86,10 @@ AS_IF([test x"${ac_cv_header_errno_h}" != xyes], 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])]) @@ -114,10 +118,6 @@ RTEMS_CHECK_POSIX_API RTEMS_CHECK_ITRON_API RTEMS_CHECK_NETWORKING -AS_IF([test x"${RTEMS_USE_NEWLIB}" = xyes], -[RTEMS_USES_TAR_H=yes], -[RTEMS_USES_TAR_H=$ac_cv_header_tar_h]) - rtems_major=`echo _RTEMS_VERSION | sed "s/\..*//"` rtems_minor=`echo _RTEMS_VERSION | sed "s/[[0-9]][[0-9]]*\.//;s/\..*//"` rtems_revision=`echo _RTEMS_VERSION | sed "s/[[0-9]][[0-9]]*\.//;s/[[0-9]][[0-9]]*\.//;s/\..*//"` @@ -154,11 +154,6 @@ RTEMS_CPUOPT([RTEMS_NETWORKING], [1], [if networking is enabled]) -RTEMS_CPUOPT([RTEMS_USES_TAR_H], - [test x"${RTEMS_USES_TAR_H}" = x"yes"], - [1], - [if RTEMS uses tar.h]) - RTEMS_CPUOPT([RTEMS_VERSION], [true], ["]_RTEMS_VERSION["], |