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

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