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

Last change on this file since 523551cc was bfcf1473, checked in by Sebastian Huber <sebastian.huber@…>, on 11/08/18 at 15:21:48

m32c: Remove this target

Update #3599.

  • Property mode set to 100644
File size: 764 bytes
Line 
1dnl
2AC_DEFUN([RTEMS_CHECK_NETWORKING],
3[dnl
4AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
5AC_REQUIRE([RTEMS_ENABLE_NETWORKING])dnl
6AC_REQUIRE([RTEMS_INCLUDES])dnl
7
8AC_CACHE_CHECK([whether CPU supports networking],
9  rtems_cv_HAS_NETWORKING,
10  [dnl
11    case "$host" in
12    # do not have address space to hold BSD TCP/IP stack
13    epiphany*)
14      rtems_cv_HAS_NETWORKING="no"
15      ;;
16    # Newer architecture ports that should only use new TCP/IP stack
17    x86_64*)
18      rtems_cv_HAS_NETWORKING="no"
19      ;;
20    *)
21      AS_IF([test "${RTEMS_HAS_NETWORKING}" = "yes"],
22      [rtems_cv_HAS_NETWORKING="yes"
23      RTEMS_CPPFLAGS="${RTEMS_CPPFLAGS} -I${RTEMS_SOURCE_ROOT}/cpukit/libnetworking"],
24      [rtems_cv_HAS_NETWORKING="no"])
25      ;;
26    esac
27    ])
28  ])
29])
Note: See TracBrowser for help on using the repository browser.