forked from Imagelibrary/rtems
* configure.ac, aclocal/enable-bare.m4, aclocal/enable-inlines.m4, aclocal/enable-itron.m4, aclocal/enable-multiprocessing.m4, aclocal/enable-networking.m4, aclocal/enable-posix.m4, aclocal/enable-rtems-debug.m4, aclocal/multi.m4, aclocal/multilib.m4: Use AS_HELP_STRING instead of AC_HELP_STRING (deprecated in autoconf-2.59) * automake/local.am: Remove clean-local, depend-gcc.
15 lines
384 B
Plaintext
15 lines
384 B
Plaintext
dnl $Id$
|
|
|
|
AC_DEFUN([RTEMS_ENABLE_NETWORKING],
|
|
[
|
|
## AC_BEFORE([$0], [RTEMS_CHECK_NETWORKING])dnl
|
|
|
|
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])
|
|
])
|