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

AC_DEFUN([RTEMS_ENABLE_NETWORKING],
[
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
])