2008-12-29 Ralf Corsépius <ralf.corsepius@rtems.org>

* configure.ac: Require <errno.h>. Cleanup comments.
	Remove check for <sys/errno.h>.
This commit is contained in:
Ralf Corsepius
2008-12-30 05:18:42 +00:00
parent 9814d2ddef
commit 85c429b523
2 changed files with 11 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2008-12-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require <errno.h>. Cleanup comments.
Remove check for <sys/errno.h>.
2008-12-23 Ralf Corsépius <ralf.corsepius@rtems.org> 2008-12-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/Makefile.am: Move src/malloc_p.h to *_SOURCES. * libcsupport/Makefile.am: Move src/malloc_p.h to *_SOURCES.

View File

@@ -73,14 +73,18 @@ AC_CHECK_HEADER([tar.h])
AC_CHECK_HEADER([sys/errno.h],[], AC_CHECK_HEADER([sys/errno.h],[],
[AC_MSG_ERROR([Missing required header sys/errno.h])]) [AC_MSG_ERROR([Missing required header sys/errno.h])])
## if libc provides stdint.h, use it. ## error out if libc doesn't provide stdint.h
AS_IF([test x"${ac_cv_header_stdint_h}" != xyes], AS_IF([test x"${ac_cv_header_stdint_h}" != xyes],
[AC_MSG_ERROR([Required header stdint.h not found])]) [AC_MSG_ERROR([Required header stdint.h not found])])
## error out if libc doesn't at least provide inttypes.h ## error out if libc doesn't provide inttypes.h
AS_IF([test x"${ac_cv_header_inttypes_h}" != xyes], AS_IF([test x"${ac_cv_header_inttypes_h}" != xyes],
[AC_MSG_ERROR([Required header inttypes.h not found])]) [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])])
AC_HEADER_STDBOOL AC_HEADER_STDBOOL
AS_IF([test x"${ac_cv_header_stdbool_h}" != xyes], AS_IF([test x"${ac_cv_header_stdbool_h}" != xyes],
[AC_MSG_ERROR([No sufficient stdbool.h found])]) [AC_MSG_ERROR([No sufficient stdbool.h found])])