summaryrefslogblamecommitdiffstats
path: root/testsuites/aclocal/enable-networking.m4
blob: fdab35d249e305b1cc7c4b616cb3dd9a00a85663 (plain) (tree)
1
2
3
4
5
6

        
                                   

                         
                                                          






                                                                          
dnl $Id$

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