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

4.115
Last change on this file since 66c0078 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 940 bytes
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    *-*-rtems*)
12      AS_IF([test "${RTEMS_HAS_NETWORKING}" = "yes"],[
13# suppress libnetworking if one these types is not available
14        AS_IF([test x"$ac_cv_type_int8_t" = xyes \
15          && test x"$ac_cv_type_uint8_t" = xyes \
16          && test x"$ac_cv_type_int16_t" = xyes \
17          && test x"$ac_cv_type_uint16_t" = xyes \
18          && test x"$ac_cv_type_int32_t" = xyes \
19          && test x"$ac_cv_type_uint32_t" = xyes \
20          && test x"$ac_cv_type_int64_t" = xyes \
21          && test x"$ac_cv_type_uint64_t" = xyes],
22        [rtems_cv_HAS_NETWORKING=yes],
23        [rtems_cv_HAS_NETWORKING=no])
24      ],[
25        rtems_cv_HAS_NETWORKING=disabled
26      ])
27      ;;
28    esac
29    ])
30  ])
31])
Note: See TracBrowser for help on using the repository browser.