OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [aclocal/] [check-networking.m4] - Blame information for rev 314

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
dnl $Id: check-networking.m4,v 1.2 2001-09-27 11:59:11 chris Exp $
2
dnl
3
AC_DEFUN(RTEMS_CHECK_NETWORKING,
4
[dnl
5
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
6
AC_REQUIRE([RTEMS_ENABLE_NETWORKING])dnl
7
 
8
AC_CACHE_CHECK([whether BSP supports networking],
9
  rtems_cv_HAS_NETWORKING,
10
  [dnl
11
    case "$RTEMS_CPU" in
12
    unix*)
13
      rtems_cv_HAS_NETWORKING="no"
14
      ;;
15
    *)
16
      if test "${RTEMS_HAS_NETWORKING}" = "yes"; then
17
        rtems_cv_HAS_NETWORKING="yes";
18
      else
19
        rtems_cv_HAS_NETWORKING="disabled";
20
      fi
21
      ;;
22
    esac])
23
if test "$rtems_cv_HAS_NETWORKING" = "yes"; then
24
  HAS_NETWORKING="yes";
25
else
26
  HAS_NETWORKING="no";
27
fi
28
AC_SUBST(HAS_NETWORKING)dnl
29
])

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.