source: rtems/cpukit/aclocal/check-networking.m4 @ f6a8663e

5
Last change on this file since f6a8663e was f6a8663e, checked in by Joel Sherrill <joel.sherrill@…>, on 12/26/15 at 16:58:25

Remove H8300 port

updates #2452.

  • Property mode set to 100644
File size: 1.0 KB
Line 
1dnl
2AC_DEFUN([RTEMS_CHECK_NETWORKING],
3[dnl
4AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
5AC_REQUIRE([RTEMS_ENABLE_NETWORKING])dnl
6
7AC_CACHE_CHECK([whether CPU supports networking],
8  rtems_cv_HAS_NETWORKING,
9  [dnl
10    case "$host" in
11    # do not have address space to hold BSD TCP/IP stack
12    avr*|m32c*)
13      rtems_cv_HAS_NETWORKING="no"
14      ;;
15    *-*-rtems*)
16      AS_IF([test "${RTEMS_HAS_NETWORKING}" = "yes"],[
17# suppress libnetworking if one these types is not available
18        AS_IF([test x"$ac_cv_type_int8_t" = xyes \
19          && test x"$ac_cv_type_uint8_t" = xyes \
20          && test x"$ac_cv_type_int16_t" = xyes \
21          && test x"$ac_cv_type_uint16_t" = xyes \
22          && test x"$ac_cv_type_int32_t" = xyes \
23          && test x"$ac_cv_type_uint32_t" = xyes \
24          && test x"$ac_cv_type_int64_t" = xyes \
25          && test x"$ac_cv_type_uint64_t" = xyes],
26        [rtems_cv_HAS_NETWORKING=yes],
27        [rtems_cv_HAS_NETWORKING=no])
28      ],[
29        rtems_cv_HAS_NETWORKING=disabled
30      ])
31      ;;
32    esac
33    ])
34  ])
35])
Note: See TracBrowser for help on using the repository browser.