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

4.104.115
Last change on this file since b5b51fc was b5b51fc, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/19/09 at 14:46:11

2009-11-19 Ralf Corsépius <ralf.corsepius@…>

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