4.104.114.84.95
Last change
on this file since 805d764d was
863fb4f,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/26/03 at 06:56:28
|
2003-11-26 Ralf Corsepius <corsepiu@…>
- aclocal/canonicalize-tools.m4, aclocal/check-itron.m4,
aclocal/check-multiprocessing.m4, aclocal/check-newlib.m4,
aclocal/check-posix.m4, aclocal/check-rtems-debug.m4,
aclocal/check-tool.m4, aclocal/enable-bare.m4,
aclocal/enable-inlines.m4, aclocal/enable-itron.m4,
aclocal/enable-multiprocessing.m4, aclocal/enable-networking.m4,
aclocal/enable-posix.m4, aclocal/enable-rtems-debug.m4,
aclocal/env-rtemscpu.m4, aclocal/gcc-isystem.m4,
aclocal/gcc-pipe.m4, aclocal/multi.m4,
aclocal/multilib.m4, aclocal/prog-cc.m4,
aclocal/rtems-top.m4, aclocal/sysv-ipc.m4:
Fix underquoting to silence automake-1.8.
|
-
Property mode set to
100644
|
File size:
911 bytes
|
Line | |
---|
1 | dnl $Id$ |
---|
2 | |
---|
3 | AC_DEFUN([RTEMS_CHECK_NEWLIB], |
---|
4 | [dnl |
---|
5 | AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])dnl |
---|
6 | AC_REQUIRE([RTEMS_CANONICALIZE_TOOLS])dnl |
---|
7 | AC_CACHE_CHECK([for RTEMS newlib], |
---|
8 | rtems_cv_use_newlib, |
---|
9 | [ |
---|
10 | dnl some versions of newlib provide not_required_by_rtems |
---|
11 | AC_LINK_IFELSE( |
---|
12 | [AC_LANG_PROGRAM([[extern void not_required_by_rtems() ;]], |
---|
13 | [[not_required_by_rtems()]])], |
---|
14 | [rtems_cv_use_newlib="yes"],[]) |
---|
15 | |
---|
16 | dnl some versions of newlib provide rtems_provides_crt0() |
---|
17 | AS_IF([test -z "$rtems_cv_use_newlib"], |
---|
18 | [AC_LINK_IFELSE( |
---|
19 | [AC_LANG_PROGRAM([[extern void rtems_provides_crt0() ;]], |
---|
20 | [[rtems_provides_crt0()]])], |
---|
21 | [rtems_cv_use_newlib="yes"],[rtems_cv_use_newlib="no"]) |
---|
22 | ]) |
---|
23 | ]) |
---|
24 | RTEMS_USE_NEWLIB="$rtems_cv_use_newlib" |
---|
25 | AC_SUBST(RTEMS_USE_NEWLIB) |
---|
26 | |
---|
27 | AS_IF([test x"${RTEMS_USE_NEWLIB}" = x"yes"], |
---|
28 | [ AC_DEFINE_UNQUOTED(RTEMS_NEWLIB,1,[if using newlib])] |
---|
29 | ) |
---|
30 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.