mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
2005-03-04 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Check for newlib with stdint.h/inttypes.h. * Makefile.am: Conditionally use external stdint.h/inttypes.h for newlib.
This commit is contained in:
1 parent
34793f3128
commit
ff1eb4c09b
3 files changed
+16
-2
No files matched your search
@@ -1,3 +1,9 @@
|
||||
2005-03-04 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Check for newlib with stdint.h/inttypes.h.
|
||||
* Makefile.am: Conditionally use external stdint.h/inttypes.h for
|
||||
newlib.
|
||||
|
||||
2005-02-22 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/rtems-top.m4: Rework rtems_updir handling to work around
|
||||
|
||||
@@ -63,8 +63,12 @@ if NEWLIB
|
||||
include_sysdir = $(includedir)/sys
|
||||
include_sys_HEADERS =
|
||||
|
||||
if RTEMS_PROVIDES_STDINT_H
|
||||
include_HEADERS += libcsupport/include/stdint.h
|
||||
endif
|
||||
if RTEMS_PROVIDES_INTTYPES_H
|
||||
include_HEADERS += libcsupport/include/inttypes.h
|
||||
endif
|
||||
include_HEADERS += libcsupport/include/tar.h
|
||||
|
||||
include_sys_HEADERS += libcsupport/include/sys/ioccom.h \
|
||||
|
||||
+6
-2
@@ -94,8 +94,12 @@ AC_CHECK_HEADER([inttypes.h])
|
||||
AC_CHECK_HEADER([tar.h])
|
||||
|
||||
## if using newlib, we provide stdint.h and inttypes.h
|
||||
AM_CONDITIONAL([RTEMS_PROVIDES_STDINT_H],[test x"${RTEMS_USE_NEWLIB}" = xyes])
|
||||
AM_CONDITIONAL([RTEMS_PROVIDES_INTTYPES_H],[test x"${RTEMS_USE_NEWLIB}" = xyes])
|
||||
AM_CONDITIONAL([RTEMS_PROVIDES_STDINT_H],
|
||||
[test x"${RTEMS_USE_NEWLIB}" = xyes \
|
||||
&& test x"${ac_cv_header_stdint_h}" = xno])
|
||||
AM_CONDITIONAL([RTEMS_PROVIDES_INTTYPES_H],
|
||||
[test x"${RTEMS_USE_NEWLIB}" = xyes \
|
||||
&& test x"${ac_cv_header_inttypes_h}" = xno])
|
||||
|
||||
## if using newlib, force using stdint.h
|
||||
AS_IF([test x"${RTEMS_USE_NEWLIB}" = xyes],
|
||||
|
||||
Reference in new issue
Block a user