4.104.114.84.95
Last change
on this file since 04e4829 was
04e4829,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/06/00 at 14:04:29
|
Patch rtems-rc-20000626-1.diff from Ralf Corsepius <corsepiu@…>.
Comments follow:
Building linux/posix fails due to including lib/include/sys/cdefs.h
instead of linux's sys/cdefs.h.
AFAIS, this sys/cdefs.h is specific to newlib and should probably
not be used on any unix host.
Therefore, I changed the relevant Makefile.am/configure.in to
condionally install sys/cdefs.h only if newlib is present.
This triggered another bug inside of the newlib-check for one of
RTEMS target's (Unfortunately I can't remember which - mips/i960 ?
... one of the more exotic ...), for which int func() isn't
identical to void func().
Note: This patch needs to be tested under Cygwin and Solaris. I am
particularily unsure about Cygwin/posix, as it applies a different
version newlib which must not trigger RTEMS newlib check (it is
supposed to fail) and if it may need RTEMS's sys/cdefs.h.
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | dnl Process this file with autoconf to produce a configure script. |
---|
2 | dnl |
---|
3 | dnl $Id$ |
---|
4 | |
---|
5 | AC_PREREQ(2.13) |
---|
6 | AC_INIT(libc) |
---|
7 | RTEMS_TOP(../../..) |
---|
8 | AC_CONFIG_AUX_DIR(../../..) |
---|
9 | |
---|
10 | RTEMS_CANONICAL_TARGET_CPU |
---|
11 | AM_INIT_AUTOMAKE(rtems-c-src-lib,$RTEMS_VERSION,no) |
---|
12 | AM_MAINTAINER_MODE |
---|
13 | |
---|
14 | RTEMS_ENABLE_MULTIPROCESSING |
---|
15 | RTEMS_ENABLE_NETWORKING |
---|
16 | RTEMS_ENABLE_BARE |
---|
17 | |
---|
18 | RTEMS_ENV_RTEMSBSP |
---|
19 | |
---|
20 | RTEMS_CHECK_CPU |
---|
21 | RTEMS_CANONICAL_HOST |
---|
22 | |
---|
23 | RTEMS_PROJECT_ROOT |
---|
24 | |
---|
25 | RTEMS_PROG_CC_FOR_TARGET |
---|
26 | RTEMS_CANONICALIZE_TOOLS |
---|
27 | RTEMS_CHECK_NEWLIB |
---|
28 | RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) |
---|
29 | RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP) |
---|
30 | RTEMS_CHECK_NETWORKING(RTEMS_BSP) |
---|
31 | |
---|
32 | AM_CONDITIONAL(UNIX,test x"$RTEMS_CPU" = x"unix") |
---|
33 | AM_CONDITIONAL(NEWLIB,test x"$RTEMS_USE_NEWLIB" = x"yes") |
---|
34 | |
---|
35 | # find all the CPU dependent library Makefiles |
---|
36 | AC_CONFIG_SUBDIRS(libcpu) |
---|
37 | AC_CONFIG_SUBDIRS(libbsp) |
---|
38 | |
---|
39 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
40 | |
---|
41 | AC_CONFIG_SUBDIRS($cfg_subdirs) |
---|
42 | |
---|
43 | # Explicitly list all Makefiles here |
---|
44 | AC_OUTPUT( |
---|
45 | Makefile |
---|
46 | include/Makefile |
---|
47 | include/sys/Makefile |
---|
48 | include/motorola/Makefile |
---|
49 | include/zilog/Makefile |
---|
50 | libc/Makefile) |
---|
Note: See
TracBrowser
for help on using the repository browser.