source: rtems/c/src/aclocal/check-networking.m4 @ ae55da72

4.115
Last change on this file since ae55da72 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: 677 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 BSP supports networking],
8  rtems_cv_HAS_NETWORKING,
9  [dnl
10    case "$RTEMS_CPU" in
11    avr*|m32c*)       # do not have address space to hold BSD TCP/IP stack
12      rtems_cv_HAS_NETWORKING="no"
13      ;;
14    *)
15      if test "${RTEMS_HAS_NETWORKING}" = "yes"; then
16        rtems_cv_HAS_NETWORKING="yes";
17      else
18        rtems_cv_HAS_NETWORKING="disabled";
19      fi
20      ;;
21    esac])
22if test "$rtems_cv_HAS_NETWORKING" = "yes"; then
23  HAS_NETWORKING="yes";
24else
25  HAS_NETWORKING="no";
26fi
27AC_SUBST(HAS_NETWORKING)dnl
28])
Note: See TracBrowser for help on using the repository browser.