mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2008-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require stdint.h.
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
2008-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2008-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* configure.ac: Require stdint.h.
|
||||||
* score/include/rtems/score/timespec.h: #include <stdint.h>,
|
* score/include/rtems/score/timespec.h: #include <stdint.h>,
|
||||||
#include <time.h>. Remove bogus #include <sys/types.h>.
|
#include <time.h>. Remove bogus #include <sys/types.h>.
|
||||||
|
|
||||||
|
|||||||
@@ -74,9 +74,8 @@ 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.
|
## if libc provides stdint.h, use it.
|
||||||
AS_IF([test x"${ac_cv_header_stdint_h}" = xyes],
|
AS_IF([test x"${ac_cv_header_stdint_h}" != xyes],
|
||||||
[RTEMS_USES_STDINT_H=yes],
|
[AC_MSG_ERROR([Required header stdint.h not found])])
|
||||||
[RTEMS_USES_STDINT_H=no])
|
|
||||||
|
|
||||||
## error out if libc doesn't at least provide inttypes.h
|
## error out if libc doesn't at least provide inttypes.h
|
||||||
AS_IF([test x"${ac_cv_header_inttypes_h}" != xyes],
|
AS_IF([test x"${ac_cv_header_inttypes_h}" != xyes],
|
||||||
@@ -195,11 +194,6 @@ RTEMS_CPUOPT([RTEMS_UNIXLIB],
|
|||||||
[1],
|
[1],
|
||||||
[to indicate RTEMS using RTEMS's unixlib])
|
[to indicate RTEMS using RTEMS's unixlib])
|
||||||
|
|
||||||
RTEMS_CPUOPT([RTEMS_USES_STDINT_H],
|
|
||||||
[test x"${RTEMS_USES_STDINT_H}" = x"yes"],
|
|
||||||
[1],
|
|
||||||
[if RTEMS uses stdint.h])
|
|
||||||
|
|
||||||
RTEMS_CPUOPT([RTEMS_USES_TAR_H],
|
RTEMS_CPUOPT([RTEMS_USES_TAR_H],
|
||||||
[test x"${RTEMS_USES_TAR_H}" = x"yes"],
|
[test x"${RTEMS_USES_TAR_H}" = x"yes"],
|
||||||
[1],
|
[1],
|
||||||
|
|||||||
Reference in New Issue
Block a user