4.104.115
Last change
on this file since 118472cf was
118472cf,
checked in by Joel Sherrill <joel.sherrill@…>, on 08/17/09 at 21:18:34
|
2009-08-17 Joel Sherrill <joel.sherrill@…>
- aclocal/check-networking.m4: Disable BSD TCP/IP for small memory
targets.
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | dnl $Id$ |
---|
2 | dnl |
---|
3 | AC_DEFUN([RTEMS_CHECK_NETWORKING], |
---|
4 | [dnl |
---|
5 | AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl |
---|
6 | AC_REQUIRE([RTEMS_ENABLE_NETWORKING])dnl |
---|
7 | |
---|
8 | AC_CACHE_CHECK([whether CPU supports networking], |
---|
9 | rtems_cv_HAS_NETWORKING, |
---|
10 | [dnl |
---|
11 | case "$RTEMS_CPU" in |
---|
12 | avr*|m32c*) # do not have address space to hold BSD TCP/IP stack |
---|
13 | rtems_cv_HAS_NETWORKING="no" |
---|
14 | ;; |
---|
15 | unix*) |
---|
16 | rtems_cv_HAS_NETWORKING="no" |
---|
17 | ;; |
---|
18 | *) |
---|
19 | AS_IF([test "${RTEMS_HAS_NETWORKING}" = "yes"],[ |
---|
20 | # suppress libnetworking if one these types is not available |
---|
21 | AS_IF([test x"$ac_cv_type_int8_t" = xyes \ |
---|
22 | && test x"$ac_cv_type_uint8_t" = xyes \ |
---|
23 | && test x"$ac_cv_type_int16_t" = xyes \ |
---|
24 | && test x"$ac_cv_type_uint16_t" = xyes \ |
---|
25 | && test x"$ac_cv_type_int32_t" = xyes \ |
---|
26 | && test x"$ac_cv_type_uint32_t" = xyes \ |
---|
27 | && test x"$ac_cv_type_int64_t" = xyes \ |
---|
28 | && test x"$ac_cv_type_uint64_t" = xyes], |
---|
29 | [rtems_cv_HAS_NETWORKING=yes], |
---|
30 | [rtems_cv_HAS_NETWORKING=no]) |
---|
31 | ],[ |
---|
32 | rtems_cv_HAS_NETWORKING=disabled |
---|
33 | ]) |
---|
34 | ;; |
---|
35 | esac |
---|
36 | ]) |
---|
37 | ]) |
---|
38 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.