summaryrefslogtreecommitdiffstats
path: root/cpukit/aclocal/enable-networking.m4
blob: 7f3b01365c293e3fd277b388f3d414b3a906f5c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
dnl $Id$

AC_DEFUN([RTEMS_ENABLE_NETWORKING],
[
## AC_BEFORE([$0], [RTEMS_CHECK_NETWORKING])dnl

AC_ARG_ENABLE(networking,
AC_HELP_STRING([--enable-networking],[enable TCP/IP stack]),
[case "${enableval}" in
  yes) RTEMS_HAS_NETWORKING=yes ;;
  no) RTEMS_HAS_NETWORKING=no ;;
  *)  AC_MSG_ERROR(bad value ${enableval} for enable-networking option) ;;
esac],[RTEMS_HAS_NETWORKING=yes])
AC_SUBST(RTEMS_HAS_NETWORKING)dnl
])