source: rtems/aclocal/check-networking.m4 @ 6fc973e

4.104.114.84.95
Last change on this file since 6fc973e was 908436c1, checked in by Joel Sherrill <joel.sherrill@…>, on 08/10/99 at 15:38:09

New configuration files added by patch from
Ralf Corsepius <corsepiu@…>".

  • Property mode set to 100644
File size: 567 bytes
Line 
1dnl $Id$
2dnl
3AC_DEFUN(RTEMS_CHECK_NETWORKING,
4[dnl
5AC_REQUIRE([RTEMS_CHECK_CPU])dnl
6AC_CACHE_CHECK([whether BSP supports networking],
7  rtems_cv_HAS_NETWORKING,
8  [dnl
9    case "$RTEMS_CPU" in
10    unix*)
11      rtems_cv_HAS_NETWORKING="no"
12      ;;
13    *)
14      if test "${RTEMS_HAS_NETWORKING}" = "yes"; then
15        rtems_cv_HAS_NETWORKING="yes";
16      else
17        rtems_cv_HAS_NETWORKING="disabled";
18      fi
19      ;;
20    esac])
21if test "$rtems_cv_HAS_NETWORKING" = "yes"; then
22  HAS_NETWORKING="yes";
23else
24  HAS_NETWORKING="no";
25fi
26AC_SUBST(HAS_NETWORKING)dnl
27])
Note: See TracBrowser for help on using the repository browser.